diff options
author | Clint Adams <clint@users.sourceforge.net> | 2002-05-28 14:07:35 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2002-05-28 14:07:35 +0000 |
commit | f486cc9ce9bf0c2b4f6215857a9ed16a1170ac50 (patch) | |
tree | 07b0e57f03f5d7efd93250b850d00f98b7aea401 | |
parent | b36344b6ba9fe45fcf30638fdea6c2248e34fe10 (diff) | |
download | zsh-f486cc9ce9bf0c2b4f6215857a9ed16a1170ac50.tar.gz zsh-f486cc9ce9bf0c2b4f6215857a9ed16a1170ac50.tar.xz zsh-f486cc9ce9bf0c2b4f6215857a9ed16a1170ac50.zip |
17244: don't complete udebs for dpkg -i or --unpack
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Debian/Command/_dpkg | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index d96798c02..adc44d6de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-05-28 Clint Adams <clint@zsh.org> + + * 17244: Completion/Debian/Command/_dpkg: + don't complete udebs for --unpack or -i. + 2002-05-27 Sven Wischnowsky <wischnow@zsh.org> * 17237: Src/Zle/complist.c: follow-up to 17222, make the diff --git a/Completion/Debian/Command/_dpkg b/Completion/Debian/Command/_dpkg index b68f942f1..79851134b 100644 --- a/Completion/Debian/Command/_dpkg +++ b/Completion/Debian/Command/_dpkg @@ -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 \*.u\#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' @@ -101,7 +101,7 @@ case "$state" in "$_dpkg_options_recursive[@]" \ '*:directory:_path_files -/' \ - nonrecur \ - '*:Debian package:_path_files -g \*.u\#deb' + '*:Debian package:_path_files -g \*.deb' ;; remove|purge|status|listfiles) _call_function ret _dpkg_$state && return ret |