Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#494138: Completion for apt-show-versions omits package list
- X-seq: zsh-workers 25422
- From: Clint Adams <schizo@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#494138: Completion for apt-show-versions omits package list
- Date: Thu, 7 Aug 2008 22:40:03 +0000
- Cc: Chris Lamb <chris@xxxxxxxxxxxxxxxx>, 494138@xxxxxxxxxxxxxxx
- In-reply-to: <20080807135141.24d43c6c@xxxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-workers@xxxxxxxxxx, Chris Lamb <chris@xxxxxxxxxxxxxxxx>, 494138@xxxxxxxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20080807135141.24d43c6c@xxxxxxxxxxxxxxxxxxxxxxx>
On Thu, Aug 07, 2008 at 01:51:41PM +0100, Chris Lamb wrote:
> of the command line. For example,
>
> apt-show-versions -u <TAB>
>
> .. should display a list of packages in the same way that "--package=<TAB>"
> currently does.
>
> Patch attached.
Index: Completion/Debian/Command/_apt-show-versions
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_apt-show-versions,v
retrieving revision 1.2
diff -u -r1.2 _apt-show-versions
--- Completion/Debian/Command/_apt-show-versions 9 Aug 2002 16:05:46 -0000 1.2
+++ Completion/Debian/Command/_apt-show-versions 7 Aug 2008 22:39:22 -0000
@@ -9,4 +9,5 @@
'(--allversions -a)'{--allversions,-a}'[print all available versions]' \
'(--brief -b)'{--brief,-b}'[brief output]' \
'(--verbose -v)'{--verbose,-v}'[verbose output]' \
- '(--help -h)'{--help,-h}'[display help information]'
+ '(--help -h)'{--help,-h}'[display help information]' \
+ ':package:_deb_packages avail'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author