Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#525215: zsh: apt-get now has a purge subcommand
- X-seq: zsh-workers 26877
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: Colin Watson <cjwatson@xxxxxxxxxx>, 525215@xxxxxxxxxxxxxxx
- Subject: Re: Bug#525215: zsh: apt-get now has a purge subcommand
- Date: Thu, 23 Apr 2009 12:33:01 +0000
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <20090422231026.GX7367@xxxxxxxxxxxxx>
- Mail-followup-to: Colin Watson <cjwatson@xxxxxxxxxx>, 525215@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20090422231026.GX7367@xxxxxxxxxxxxx>
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_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'/ \| \
Messages sorted by:
Reverse Date,
Date,
Thread,
Author