From: Clint Adams <schizo@debian.org>
To: Colin Watson <cjwatson@ubuntu.com>, 525215@bugs.debian.org
Cc: zsh-workers@sunsite.dk
Subject: Re: Bug#525215: zsh: apt-get now has a purge subcommand
Date: Thu, 23 Apr 2009 12:33:01 +0000 [thread overview]
Message-ID: <20090423123301.GA3132@scru.org> (raw)
In-Reply-To: <20090422231026.GX7367@riva.ucam.org>
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'/ \| \
next parent reply other threads:[~2009-04-23 12:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20090422231026.GX7367@riva.ucam.org>
2009-04-23 12:33 ` Clint Adams [this message]
2009-04-23 12:37 ` Clint Adams
2009-04-23 12:38 ` Clint Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090423123301.GA3132@scru.org \
--to=schizo@debian.org \
--cc=525215@bugs.debian.org \
--cc=cjwatson@ubuntu.com \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).