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

Re: PATCH: add (-.) to many completion _files globs



> Index: Completion/Debian/Command/_dpkg
> ===================================================================
> RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_dpkg,v
> retrieving revision 1.16
> diff -u -r1.16 _dpkg
> --- Completion/Debian/Command/_dpkg     16 Sep 2010 01:02:27 -0000      1.16
> +++ Completion/Debian/Command/_dpkg     10 Feb 2012 16:37:02 -0000
> @@ -73,7 +73,7 @@
>  _dpkg_options_recursive=( '(--recursive -R)'{--recursive,-R}'[recursive]' )
>
>  _dpkg_deb_and_query_only_actions=(
> -    '(--show -W)'{--show,-W}'[show package info]:Debian package:_files -g \*.u\#deb'
> +    '(--show -W)'{--show,-W}'[show package info]:Debian package:_files -g \*.u\#deb(-.)'

Is this also missing backslashes on the ()? I don't know how dpkg
works so I can't test it, but it looks like it should have them.

I looked through the whole diff and the other changes all look good.

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author