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

Re: PATCH: yet another _git update



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