diff options
Diffstat (limited to 'Completion/Debian/Command')
-rw-r--r-- | Completion/Debian/Command/_debsign | 2 | ||||
-rw-r--r-- | Completion/Debian/Command/_dpkg | 18 | ||||
-rw-r--r-- | Completion/Debian/Command/_dpkg_source | 2 | ||||
-rw-r--r-- | Completion/Debian/Command/_dput | 2 | ||||
-rw-r--r-- | Completion/Debian/Command/_dupload | 2 |
5 files changed, 13 insertions, 13 deletions
diff --git a/Completion/Debian/Command/_debsign b/Completion/Debian/Command/_debsign index cd8c96dad..b358186b8 100644 --- a/Completion/Debian/Command/_debsign +++ b/Completion/Debian/Command/_debsign @@ -12,4 +12,4 @@ _arguments \ '-t[GNU system type]:GNU system type' \ '--help[display help information]' \ '--version[display version information]' \ - '*:changes or dsc file:_files -g "*.(changes|dsc)"' + '*:changes or dsc file:_files -g "*.(changes|dsc)(-.)"' diff --git a/Completion/Debian/Command/_dpkg b/Completion/Debian/Command/_dpkg index 406428d97..f098e8a88 100644 --- a/Completion/Debian/Command/_dpkg +++ b/Completion/Debian/Command/_dpkg @@ -7,13 +7,13 @@ typeset -A opt_args _dpkg_deb_actions=( '(--build -b)'{--build,-b}'[build archive]:directory:_files -/' - '(--contents -c)'{--contents,-c}'[list contents]:Debian package:_files -g \*.u\#deb' - '(--info -I)'{--info,-I}'[show info]:Debian package:_files -g \*.u\#deb' - '(--field -f)'{--field,-f}'[show fields]:Debian package:_files -g \*.u\#deb' - '(--control -e)'{--control,-e}'[extract control]:Debian package:_files -g \*.u\#deb' - '(--extract -x)'{--extract,-x}'[extract files]:Debian package:_files -g \*.u\#deb' - '(--vextract -X)'{--vextract,-X}'[extract and list files]:Debian package:_files -g \*.u\#deb' - '--fsys-tarfile[output fs tarfile]:Debian package:_files -g \*.u\#deb' + '(--contents -c)'{--contents,-c}'[list contents]:Debian package:_files -g "*.u#deb(-.)"' + '(--info -I)'{--info,-I}'[show info]:Debian package:_files -g "*.u#deb(-.)"' + '(--field -f)'{--field,-f}'[show fields]:Debian package:_files -g "*.u#deb(-.)"' + '(--control -e)'{--control,-e}'[extract control]:Debian package:_files -g "*.u#deb(-.)"' + '(--extract -x)'{--extract,-x}'[extract files]:Debian package:_files -g "*.u#deb(-.)"' + '(--vextract -X)'{--vextract,-X}'[extract and list files]:Debian package:_files -g "*.u#deb(-.)"' + '--fsys-tarfile[output fs tarfile]:Debian package:_files -g "*.u#deb(-.)"' ) _dpkg_common_actions=( @@ -24,7 +24,7 @@ _dpkg_common_actions=( _dpkg_actions=( '(--install -i)'{--install,-i}'[install packages]:*:Debian packages:->install' - '--unpack[unpack package]:Debian package:_files -g \*.deb' + '--unpack[unpack package]:Debian package:_files -g "*.deb(-.)"' '--configure[reconfigure specified packages]:*:package:->configure' '(--remove -r)'{--remove,-r}'[remove package]:*:package:->remove' '(--purge -P)'{--purge,-P}'[purge package]:*:package:->purge' @@ -111,7 +111,7 @@ case "$state" in "$_dpkg_options_recursive[@]" \ '*:directory:_path_files -/' \ - nonrecur \ - '*:Debian package:_path_files -g \*.deb' + '*:Debian package:_path_files -g "*.deb(-.)"' ;; remove|purge|status|listfiles) _call_function ret _dpkg_$state && return ret diff --git a/Completion/Debian/Command/_dpkg_source b/Completion/Debian/Command/_dpkg_source index 274a85794..eabe8bc33 100644 --- a/Completion/Debian/Command/_dpkg_source +++ b/Completion/Debian/Command/_dpkg_source @@ -1,7 +1,7 @@ #compdef dpkg-source _arguments \ - '-x[specify source file]:Debian source file:_files -g \*.dsc' \ + '-x[specify source file]:Debian source file:_files -g "*.dsc(-.)"' \ '-b[specify source directory]:Debian source directory:_files -/' \ '-c-[control file]:control file:_files' \ '-l-[changelog file]:changelog file:_files' \ diff --git a/Completion/Debian/Command/_dput b/Completion/Debian/Command/_dput index 64b682c6f..e4161a46c 100644 --- a/Completion/Debian/Command/_dput +++ b/Completion/Debian/Command/_dput @@ -11,4 +11,4 @@ _arguments \ '(-s --simulate)'{-s,--simulare}'[simulate an upload only]' \ '(-u --unchecked)'{-u,--unchecked}'[do not check GPG signature on the changes file]' \ '(-v --version)'{-v,--version}'[show version information]' \ - '*:changes file:_files -g \*.changes' + '*:changes file:_files -g "*.changes(-.)"' diff --git a/Completion/Debian/Command/_dupload b/Completion/Debian/Command/_dupload index 4ec179688..65ce4b0e4 100644 --- a/Completion/Debian/Command/_dupload +++ b/Completion/Debian/Command/_dupload @@ -18,4 +18,4 @@ _arguments \ '(-p --print)'{-p,--print}'[print config legibly]' \ '(-q --quiet)'{-q,--quiet}'[quiet]' \ '(-V --Version)'{-V,--Version}'[display version information]' \ - '*:changes file:_files -g \*.changes' + '*:changes file:_files -g "*.changes(-.)"' |