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

Re: run-help for new git style



On Thu, 12 Aug 2010 15:07:34 +0200
Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx> 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"?
> 
> If your zsh is new enough:
> 
> autoload -Uz run-help-git

You might also need

  unalias run-help
  autoload -Uz run-help

since by default run-help is just an alias for man, and the facility
for using helpers is only built into the function version.

-- 
Peter Stephenson <pws@xxxxxxx>            Software Engineer
Tel: +44 (0)1223 692070                   Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK


Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom



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