summary refs log tree commit diff
path: root/Completion/Debian/Command
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2004-08-01 14:48:14 +0000
committerClint Adams <clint@users.sourceforge.net>2004-08-01 14:48:14 +0000
commit6a84de2db9282fdfe024f719fe5d9fcb49503cb1 (patch)
tree650da9b60f141db360ce44aaae9fec0db11deb67 /Completion/Debian/Command
parent4260265582781c6c6c69718073ca04b6ec57e7aa (diff)
downloadzsh-6a84de2db9282fdfe024f719fe5d9fcb49503cb1.tar.gz
zsh-6a84de2db9282fdfe024f719fe5d9fcb49503cb1.tar.xz
zsh-6a84de2db9282fdfe024f719fe5d9fcb49503cb1.zip
* 20230: Completion/Debian/Command/_apt: dumb down apt-get
 install completion and always complete from all available packages.
Diffstat (limited to 'Completion/Debian/Command')
-rw-r--r--Completion/Debian/Command/_apt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Debian/Command/_apt b/Completion/Debian/Command/_apt
index ae6e739a1..a4623ff8d 100644
--- a/Completion/Debian/Command/_apt
+++ b/Completion/Debian/Command/_apt
@@ -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'/ \| \