Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#494138: Completion for apt-show-versions omits package list



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