On Thu, Apr 23, 2009 at 12:10:31AM +0100, Colin Watson wrote:
> apt-get now has a 'purge' subcommand, as a shorthand for 'remove
> --purge'. Please add support for it to
> /usr/share/zsh/functions/Completion/Debian/_apt. I think it should be
> identical to the handling for 'remove', since 'apt-get purge' (buggily?)
> doesn't support being given packages that are removed but not purged.
Thanks.
Index: Completion/Debian/Command/_apt
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_apt,v
retrieving revision 1.15
diff -u -r1.15 _apt
--- Completion/Debian/Command/_apt 2 Nov 2008 14:12:29 -0000 1.15
+++ Completion/Debian/Command/_apt 23 Apr 2009 12:31:56 -0000
@@ -427,6 +427,7 @@
/$'install\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packag...@]"
avail' \# \
/$'[^\0/]#/'/ /$'[^\0/]#\0'/ ':release name::_apt_releases' \) \| \
/$'remove\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packag...@]"
installed' \# \| \
+ /$'purge\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packag...@]"
installed' \# \| \
/$'dist-upgrade\0'/ \| \
/$'dselect-upgrade\0'/ \| \
/$'clean\0'/ \| \
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]