mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-11 08:21:13 +01:00
17244: don't complete udebs for dpkg -i or --unpack
This commit is contained in:
parent
b36344b6ba
commit
f486cc9ce9
2 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue