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

Re: [RFC] Use _multi_parts for completing git tree files



Hallo Clint,

Clint Adams <clint@xxxxxxx> wrote:
> On Tue, Oct 07, 2008 at 10:24:03PM +0200, Jörg Sommer wrote:
>> +  _wanted files expl 'tree file' _multi_parts -f $@ -- / tree_files
>
> Seems good.

Thanks for picking it up.

> Index: Completion/Unix/Command/_git
> ===================================================================
> RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_git,v
> retrieving revision 1.106
> diff -u -r1.106 _git
> --- Completion/Unix/Command/_git	9 Oct 2008 21:54:10 -0000	1.106
> +++ Completion/Unix/Command/_git	9 Oct 2008 21:56:13 -0000
> @@ -2791,9 +2791,6 @@
>  (( $+functions[__git_tree_files] )) ||
>  __git_tree_files () {
>    local multi_parts_opts
> -
> -  zparseopts -D -E -a multi_parts_opts M: J: V: 1 2 n F: X:
> -

Then you can remove the local line before, too.

Bye, Jörg.
-- 
Macht besitzen und nicht ausüben ist wahre Größe.
                                                   (Friedl Beutelrock)



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