about summary refs log tree commit diff
path: root/fish/completions/xlocate.fish
diff options
context:
space:
mode:
Diffstat (limited to 'fish/completions/xlocate.fish')
-rw-r--r--fish/completions/xlocate.fish11
1 files changed, 11 insertions, 0 deletions
diff --git a/fish/completions/xlocate.fish b/fish/completions/xlocate.fish
new file mode 100644
index 0000000..df53d1c
--- /dev/null
+++ b/fish/completions/xlocate.fish
@@ -0,0 +1,11 @@
+complete -c xlocate -f
+complete -c xlocate -s h -d 'Print help message and exit'
+complete -c xlocate -s g -d 'Update xlocate.git'
+complete -c xlocate -s S -d 'Sync with official xlocate.git'
+complete -c xlocate -s E -d 'Use POSIX extended regexp for patterns'
+complete -c xlocate -s F -d 'Use fixed strings for patterns'
+complete -c xlocate -s G -d 'Use POSIX basic regexp for patterns'
+complete -c xlocate -s P -d 'Use Perl-compatible regular expressions for patterns'
+complete -c xlocate -s i -d 'Ignore case differences between the patterns and the files'
+complete -c xlocate -s w -d 'Match the pattern only at word boundary'
+complete -c xlocate -s e -d 'The next parameter is the pattern' -x