summaryrefslogtreecommitdiffstats
path: root/completions/bfs.fish
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-03-20 10:44:34 -0400
committerTavian Barnes <tavianator@tavianator.com>2024-03-20 16:40:57 -0400
commit912d2b94cf6ff0871c07325af5ed520a2bc97722 (patch)
treec2a38bcba049dc633811cab5d80f8945a2f91ba8 /completions/bfs.fish
parent906009bbb7a88002d0db8b7a26ad9d5b71120869 (diff)
downloadbfs-912d2b94cf6ff0871c07325af5ed520a2bc97722.tar.xz
Implement -limit N
Closes: https://github.com/tavianator/bfs/issues/133
Diffstat (limited to 'completions/bfs.fish')
-rw-r--r--completions/bfs.fish1
1 files changed, 1 insertions, 0 deletions
diff --git a/completions/bfs.fish b/completions/bfs.fish
index 3f399e7..1303639 100644
--- a/completions/bfs.fish
+++ b/completions/bfs.fish
@@ -133,6 +133,7 @@ complete -c bfs -o fls -d "Like -ls, but write to specified file" -F
complete -c bfs -o fprint -d "Like -print, but write to specified file" -F
complete -c bfs -o fprint0 -d "Like -print0, but write to specified file" -F
complete -c bfs -o fprintf -d "Like -printf, but write to specified file" -F
+complete -c bfs -o limit -d "Limit the number of results" -x
complete -c bfs -o ls -d "List files like ls -dils"
complete -c bfs -o print -d "Print the path to the found file"
complete -c bfs -o print0 -d "Like -print, but use the null character as a separator rather than newlines"