aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-11-27 13:21:22 +0100
committerMattias Andrée <maandree@operamail.com>2015-11-27 13:21:22 +0100
commit1bd3372d30df987cf29bb9055e4bf6c210221231 (patch)
tree0e1d1c01ee23e8b64d03ab1cff8a11b7f87efb71 /src
parentimprove makefile (diff)
downloadbfind-1bd3372d30df987cf29bb9055e4bf6c210221231.tar.gz
bfind-1bd3372d30df987cf29bb9055e4bf6c210221231.tar.bz2
bfind-1bd3372d30df987cf29bb9055e4bf6c210221231.tar.xz
add shell tab-completion
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/bfind.auto-completion17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/bfind.auto-completion b/src/bfind.auto-completion
new file mode 100644
index 0000000..f1f74e2
--- /dev/null
+++ b/src/bfind.auto-completion
@@ -0,0 +1,17 @@
+(bfind
+ (unargumented (options -x --xdev) (complete --xdev)
+ (desc 'Do not crawl across mount points'))
+
+ (unargumented (options -h --hardlinks) (complete --hardlinks)
+ (desc 'Be aware of hardlinked directories'))
+
+ (unargumented (options -s --symlinks) (complete --symlinks)
+ (desc 'Crawl symbolically linked directories, but never visit more than once'))
+
+ (unargumented (options -v --visible) (complete --visible)
+ (desc 'Do not list files starting with a dot'))
+
+ (unargumented (options -0 --print0) (complete --print0)
+ (desc 'Terminate lines with NUL instead of LF'))
+)
+