Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#262157: zsh: Missed completion for apt-get install -t unstable
- X-seq: zsh-workers 20230
- From: Clint Adams <clint@xxxxxxx>
- To: Vincent Lefevre <vincent@xxxxxxxxxx>, zsh-workers@xxxxxxxxxx, 262157@xxxxxxxxxxxxxxx
- Subject: Re: Bug#262157: zsh: Missed completion for apt-get install -t unstable
- Date: Sun, 1 Aug 2004 10:13:09 -0400
- In-reply-to: <20040730171026.GM2892@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20040729225547.GA3042@xxxxxxxxxxxxx> <20040730154111.GB4059@xxxxxxxxxxx> <20040730171026.GM2892@xxxxxxxxxxxxx>
> The best solution would be c. If this is too complicated or would
> take too much time, at least choose b if the -t option is used.
Here's the shortcut.
Index: Completion/Debian/Command/_apt
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_apt,v
retrieving revision 1.8
diff -u -r1.8 _apt
--- Completion/Debian/Command/_apt 21 Nov 2003 08:05:43 -0000 1.8
+++ Completion/Debian/Command/_apt 1 Aug 2004 14:09:42 -0000
@@ -423,7 +423,7 @@
/$'update\0'/ \| \
/$'upgrade\0'/ \| \
\( \
- /$'install\0'/ /$'[^\0]#\0'/ ':packages::{ _deb_packages "$expl_packages[@]" uninstalled || _deb_packages "$expl_packages[@]" installed }' \# \
+ /$'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' \# \| \
/$'dist-upgrade\0'/ \| \
Messages sorted by:
Reverse Date,
Date,
Thread,
Author