about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2007-07-04 02:59:45 +0000
committerClint Adams <clint@users.sourceforge.net>2007-07-04 02:59:45 +0000
commita922e1dbe7730d5b8ca5a716e4c8d0f2bd15f303 (patch)
treee0a6d43f4d9187f9ed6caeee8d71f374e4260a70 /Completion
parent0f915955d39d3efe0937fecc56154962160f06fd (diff)
downloadzsh-a922e1dbe7730d5b8ca5a716e4c8d0f2bd15f303.tar.gz
zsh-a922e1dbe7730d5b8ca5a716e4c8d0f2bd15f303.tar.xz
zsh-a922e1dbe7730d5b8ca5a716e4c8d0f2bd15f303.zip
23653: add completion for apt-get autoremove.
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Debian/Command/_apt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Debian/Command/_apt b/Completion/Debian/Command/_apt
index 7005c0e96..d65015774 100644
--- a/Completion/Debian/Command/_apt
+++ b/Completion/Debian/Command/_apt
@@ -434,8 +434,9 @@ _apt-get () {
     /$'check\0'/ \| \
     /$'source\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \
     /$'build-dep\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \
+    /$'autoremove\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
     /$'help\0/' \| \
-    /"[]"/	':argument-1::compadd "$expl_action[@]" update upgrade install remove dist-upgrade dselect-upgrade clean autoclean check source build-dep help'
+    /"[]"/	':argument-1::compadd "$expl_action[@]" update upgrade install remove dist-upgrade dselect-upgrade clean autoclean check source build-dep autoremove help'
 
   _apt-get () {
     local expl_action expl_packages