Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [RFC] Use _multi_parts for completing git tree files
- X-seq: zsh-workers 25834
- From: Jörg Sommer <joerg@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: [RFC] Use _multi_parts for completing git tree files
- Date: Thu, 9 Oct 2008 23:38:33 +0000 (UTC)
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=gnuu.de; s=banki; t=1223595606; i=@xxxxxxxxxxxx; bh=g0tNzCDzzSjdz4hlu332f0dHgCkvrRQA3 Ji7Gw8qVGs=; h=To:From:Subject:Date:Message-ID:References: Mime-Version:Content-Type:Content-Transfer-Encoding:Sender; b=Uy+d 0e0jhtQ67auziWGfi+vdby3pksEx3N4CbTcvKOiZMEBSycipwYtNbd0IThR4SYYQ4mu D9TisRUtwUbPuC4zKvSdg93KHzRphbBrI0+CjN6WL5dD8VJ1JfOyZ397FXkG72WDUcN peOHEPhKINREE/B2ryfT8/yQLlBCFi4Jw=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <1223411043-19731-1-git-send-email-joerg@xxxxxxxxxxxx> <20081009220136.GA29974@xxxxxxxx>
- Sender: news <news@xxxxxxxxxxxx>
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