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 26878
- From: Clint Adams <clint@xxxxxxx>
- To: Colin Watson <cjwatson@xxxxxxxxxx>, 525215@xxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#525215: zsh: apt-get now has a purge subcommand
- Date: Thu, 23 Apr 2009 12:37:06 +0000
- In-reply-to: <20090423123301.GA3132@xxxxxxxx>
- 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> <20090423123301.GA3132@xxxxxxxx>
On Thu, Apr 23, 2009 at 12:33:01PM +0000, Clint Adams wrote:
> + /$'purge\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" installed' \# \| \
You'll probably want this too:
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