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

Re: PATCH: _git: Completion for `notes' sub-command



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