1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00

* 20230: Completion/Debian/Command/_apt: dumb down apt-get

install completion and always complete from all available packages.
This commit is contained in:
Clint Adams 2004-08-01 14:48:14 +00:00
parent 4260265582
commit 6a84de2db9
2 changed files with 5 additions and 1 deletions

@ -1,5 +1,9 @@
2004-08-01 Clint Adams <clint@zsh.org>
* 20230: Completion/Debian/Command/_apt: dumb down apt-get
install completion and always complete from all available
packages.
* 20225: Doc/Zsh/mod_clone.yo: add Philippe Troin's explanations
of clone usage.

@ -423,7 +423,7 @@ _apt-get () {
/$'update\0'/ \| \
/$'upgrade\0'/ \| \
\( \
/$'install\0'/ /$'[^\0]#\0'/ ':packages::{ _deb_packages "$expl_packages[@]" uninstalled || _deb_packages "$expl_packages[@]" installed }' \# \
/$'install\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \
/$'[^\0/]#/'/ /$'[^\0/]#\0'/ ':release name::_apt_releases' \) \| \
/$'remove\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
/$'dist-upgrade\0'/ \| \