Completion for dglob

Debian package searching command
This commit is contained in:
Joe Bloggs 2014-07-07 02:43:16 +01:00
parent 87bc8abd45
commit 70d6c8b566
1 changed files with 15 additions and 0 deletions

15
src/_dglob Normal file
View File

@ -0,0 +1,15 @@
#compdef dglob
_arguments : '-a[Search through all available packages, not just installed ones.]' \
'-f[List all files in the matched packages.]' \
'-0[When listing files (with -f) use "\0" as a separator instead of a newline.]' \
'-r[The pattern of the current simple filter is a standard POSIX regular expression.]' \
'-e[Regard the pattern of the current simple filter as an extended POSIX regular expression.]' \
'-i[Ignore case when looking for a match in the current simple filter.]' \
'-X[Do an exact match (as opposed to a substring match) in the current simple filter.]' \
'-v[Instead of showing all the paragraphs that match, show those paragraphs that do not match.]' \
"1:pattern:{_guard \"[^ ]#\" 'pattern'}"
# Local Variables:
# mode:shell-script
# End: