Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: yet another _git update
- X-seq: zsh-workers 23590
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: PATCH: yet another _git update
- Date: Sat, 23 Jun 2007 23:51:59 +0200
- In-reply-to: <20070623214130.GA16281@xxxxxxxxxxx>
- Mail-followup-to: zsh workers <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20070623100226.GB6305@xxxxxxxxxxxxxxx> <20070623214130.GA16281@xxxxxxxxxxx>
Clint Adams <clint@xxxxxxx>:
> On Sat, Jun 23, 2007 at 12:02:26PM +0200, Frank Terbeck wrote:
> > a) To provide a nice looking list, we currently use a hardcoded list
> > of 'command:description' pairs. However this does not guarantee,
> > that all possible subcommands available on a system will be taken
> > into account.
>
> > To activate a), do:
> > zstyle ':completion::*:git:*' list_allcmds true
>
> What about putting the descriptions into an assoc array, and matching
> those up with the output of git help -a instead? Then you could have
> the best of both potential style options by default.
I would be all for it.
Regards, Frank
--
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
-- RFC 1925
Messages sorted by:
Reverse Date,
Date,
Thread,
Author