aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/locate.fish
diff options
context:
space:
mode:
authorGravatar SanskritFritz <SanskritFritz+github@gmail.com>2012-10-02 23:22:40 +0200
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-10-02 17:54:30 -0700
commit956f99365a2bd19bba1ee0e7713a5798b802d83c (patch)
treed8dc330ca24e4fabf4dfbaba7d3bc9570ef36730 /share/completions/locate.fish
parent99044151449b61ea7b7f267eb9b7f339b804acdd (diff)
Some new completions and modified some others.
Diffstat (limited to 'share/completions/locate.fish')
-rw-r--r--share/completions/locate.fish40
1 files changed, 18 insertions, 22 deletions
diff --git a/share/completions/locate.fish b/share/completions/locate.fish
index d824f89d..a932783f 100644
--- a/share/completions/locate.fish
+++ b/share/completions/locate.fish
@@ -1,23 +1,19 @@
-#completion for locate
+# Completions for locate
+# Author SanskritFritz (gmail)
-complete -c locate -s A -l all --description 'Print only names which match all non-option arguments'
-complete -c locate -s c -l count --description 'Print the total number of matches found'
-complete -c locate -s e -l existing --description 'Only print out such names that currently exist'
-complete -c locate -s E -l non-existing --description 'Only print out such names that currently do not exist'
-complete -c locate -s L -l follow --description 'Consider broken symbolic links to be non-existing files'
-complete -c locate -s P -l nofollow --description 'Treat broken symbolic links as if they were existing'
-complete -c locate -s H -l nofollow --description 'Treat broken symbolic links as if they were existing'
-complete -c locate -s i -l ignore-case --description 'Ignore case distinctions between pattern and file names'
-complete -c locate -s m -l mmap --description 'Does nothing. For compatibility with BSD locate'
-complete -c locate -s 0 -l null --description 'Use ASCII NUL as a separator, instead of newline'
-complete -c locate -s p -l print --description 'Print search results when they normally would not'
-complete -c locate -s w -l whole-name --description 'Match against the whole name of the file'
-complete -c locate -s b -l base-name --description 'Match against the final component of the file name'
-complete -c locate -s r -l regex --description 'The pattern is regular expression instead of glob pattern'
-complete -c locate -s s -l stdio --description 'Does nothing. For compatibility with BSD locate'
-complete -c locate -s S -l statistics --description 'Print statistics about each locate database and exit'
-complete -c locate -l help --description 'Print a summary of the options to locate and exit'
-complete -c locate -l version --description 'Print the version number of locate and exit'
-
-complete -r -c locate -s d -l database --description 'Search the file name databases in these directories'
-complete -r -c locate -s l -l limit --description 'Limit the number of matches'
+complete -c locate -s A -l 'all' -d 'Match all non-option arguments'
+complete -c locate -s b -l 'basename' -d 'Match against the base name of the file'
+complete -c locate -s c -l 'count' -d 'Print only the number of matches found'
+complete -c locate -s d -l 'database' -r -d 'Use different DATABASE file[s]'
+complete -c locate -s e -l 'existing' -d 'Match only existing files'
+complete -c locate -s L -l 'follow' -d 'Consider broken symbolic links to be non-existing files'
+complete -c locate -s P -l 'nofollow' -d 'Treat broken symbolic links as if they were existing'
+complete -c locate -s H -l 'nofollow' -d 'Treat broken symbolic links as if they were existing'
+complete -c locate -s i -l 'ignore-case' -d 'Ignore case distinctions'
+complete -c locate -s l -l 'limit' -r -d 'Limit the number of matches'
+complete -c locate -s 0 -l 'null' -d 'Use ASCII NUL as a separator'
+complete -c locate -s S -l 'statistics' -d 'Print statistics about databases and exit'
+complete -c locate -s w -l 'wholename' -d 'Match against the whole name of the file'
+complete -c locate -s r -l 'regex' -d 'The pattern is a regular expression'
+complete -c locate -s h -l 'help' -d 'Print a summary of the options and exit'
+complete -c locate -s V -l 'version' -d 'Print the version number and exit'