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

Re: run-help for new git style



Frank Terbeck wrote:
> Klaus Ethgen wrote:
> [...]
>> Is there any way to configure run-help to use "man git-add" when I press
>> <ALT>-H in a line with "git add"?
>
> autoload -Uz run-help-git
>
> That should be all to do the trick.

Well, that assumes you're already using the `run-help' function. There
may be an alias `run-help' set to `man'. So, to be complete:

(( ${+aliases[run-help]} )) && unalias run-help
autoload -Uz run-help
autoload -Uz run-help-git



Messages sorted by: Reverse Date, Date, Thread, Author