Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: run-help for new git style
- X-seq: zsh-users 15274
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: Klaus Ethgen <klaus+usenet@xxxxxxxxx>
- Subject: Re: run-help for new git style
- Date: Thu, 12 Aug 2010 15:12:37 +0200
- Cc: zsh-users@xxxxxxx
- In-reply-to: <87lj8c5695.fsf@xxxxxxxxxxxxxxxxxxxxxx> (Frank Terbeck's message of "Thu, 12 Aug 2010 15:07:34 +0200")
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <slrni67oia.uj8.klaus+usenet@xxxxxxxxxxxxxx> <87lj8c5695.fsf@xxxxxxxxxxxxxxxxxxxxxx>
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