diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-06-08 03:03:55 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-06-08 03:03:55 +0000 |
commit | f3c138aee70011d0cd8b1314ae5154cf6474b7b3 (patch) | |
tree | 1b94539ea250eb9dfd2deb295c44bcfd4851509c /Completion | |
parent | b0b33a41a1d2071ee689baaef312b2bd1ed50c13 (diff) | |
download | zsh-f3c138aee70011d0cd8b1314ae5154cf6474b7b3.tar.gz zsh-f3c138aee70011d0cd8b1314ae5154cf6474b7b3.tar.xz zsh-f3c138aee70011d0cd8b1314ae5154cf6474b7b3.zip |
users/3130: Completion/Debian/_apt: fix actions for _alternative.
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Debian/_apt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/Debian/_apt b/Completion/Debian/_apt index cba9ebad5..8fa056594 100644 --- a/Completion/Debian/_apt +++ b/Completion/Debian/_apt @@ -371,7 +371,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[@]" uninstalled || _deb_packages "$expl_packages[@]" installed }' \# \| \ /$'remove\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \ /$'dist-upgrade\0'/ \| \ /$'dselect-upgrade\0'/ \| \ @@ -410,12 +410,12 @@ _apt-cache () { /$'add\0'/ /$'[^\0]#\0'/ ':files:index files:_files "$expl[@]"' \# \| \ /$'gencaches\0'/ \| \ /$'showpkg\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \ - /$'stats\0'=$status[4]/ \| \ + /$'stats\0'/ \| \ /$'dump\0'/ \| \ /$'dumpavail\0'/ \| \ /$'unmet\0'/ \| \ /$'check\0'/ \| \ - /$'search\0'/ /$'[^\0]#\0'/ ':strings::_message "pattern"' \| \ + /$'search\0'/ /$'[^\0]#\0'/ ':strings:pattern:' \| \ /$'show\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \ /$'depends\0'/ \| \ /"[]"/ ':argument-1::compadd "$expl_action[@]" help add gencaches showpkg stats dump dumpavail unmet check search show depends' |