Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: _git: Completion for `notes' sub-command
- X-seq: zsh-workers 27706
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: PATCH: _git: Completion for `notes' sub-command
- Date: Sat, 13 Feb 2010 13:43:09 +0100
- Cc: Nikolai Weibull <now@xxxxxxxx>
- In-reply-to: <1266064769-20842-1-git-send-email-ft@xxxxxxxxxxxxxxxxxxx> (Frank Terbeck's message of "Sat, 13 Feb 2010 13:39:29 +0100")
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <871vgpz6v6.fsf@xxxxxxxxxxxxxxxxxxxxxx> <1266064769-20842-1-git-send-email-ft@xxxxxxxxxxxxxxxxxxx>
Frank Terbeck wrote:
[...]
> People who cannot be bothered to "drop the dash" should consider adding
> something like this to their .zshrc (this assumes they have added the
> output of `git --exec-path' to their $PATH - otherwise this doesn't make
> sense whatsoever):
>
> compdef _git ${(M)${(k)commands}:#git-*}; do
The '; do' is there only be accident. It should read:
compdef _git ${(M)${(k)commands}:#git-*}
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