Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: yet another _git update
- X-seq: zsh-workers 23588
- From: Clint Adams <clint@xxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxxxxx>
- Subject: Re: PATCH: yet another _git update
- Date: Sat, 23 Jun 2007 17:41:30 -0400
- In-reply-to: <20070623100226.GB6305@xxxxxxxxxxxxxxx>
- Mail-followup-to: zsh workers <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20070623100226.GB6305@xxxxxxxxxxxxxxx>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author