summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2009-04-23 12:36:01 +0000
committerClint Adams <clint@users.sourceforge.net>2009-04-23 12:36:01 +0000
commite03d1e2fb90499cb7d8d626d4b3d4438903c90e8 (patch)
tree7507531f742ab4889a3ee2df0017e8b98b467821
parent46fd8beec7801179ccc2df276631fb3260341d8e (diff)
downloadzsh-e03d1e2fb90499cb7d8d626d4b3d4438903c90e8.tar.gz
zsh-e03d1e2fb90499cb7d8d626d4b3d4438903c90e8.tar.xz
zsh-e03d1e2fb90499cb7d8d626d4b3d4438903c90e8.zip
26877: handle apt-get purge.
-rw-r--r--ChangeLog6
-rw-r--r--Completion/Debian/Command/_apt1
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 600711dbe..136d00321 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-23  Clint Adams  <clint@zsh.org>
+
+	* 26877: Completion/Debian/Command/_apt: handle apt-get purge.
+
 2009-04-22  Peter Stephenson  <pws@csr.com>
 
 	* see 26867: Functions/VCS_Info/Backends/VCS_INFO_get_data_svk:
@@ -11603,5 +11607,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4663 $
+* $Revision: 1.4664 $
 *****************************************************
diff --git a/Completion/Debian/Command/_apt b/Completion/Debian/Command/_apt
index bdcfcd26a..2aaeeb7af 100644
--- a/Completion/Debian/Command/_apt
+++ b/Completion/Debian/Command/_apt
@@ -427,6 +427,7 @@ _apt-get () {
     /$'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' \# \| \
+    /$'purge\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
     /$'dist-upgrade\0'/ \| \
     /$'dselect-upgrade\0'/ \| \
     /$'clean\0'/ \| \