Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: run-help's man arguments
- X-seq: zsh-workers 27042
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: run-help's man arguments
- Date: Mon, 08 Jun 2009 09:52:19 +0100
- In-reply-to: <090605225330.ZM551@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <2161.1244200252@xxxxxxx> <C141D892-5C34-428A-87C2-4ABC5A60BFC1@xxxxxxxxxxxxxxxxx> <090605225330.ZM551@xxxxxxxxxxxxxxxxxxxxxx>
Bart Schaefer wrote:
> On Jun 6, 12:52pm, Jun T. wrote:
> } Subject: Re: run-help's man arguments
> }
> } I'm not familiar with zsh internals, but I think ESC-h (in the default
> } bindings) is bound to the ZLE widget 'run-help' which calls the
> } function "run-help" as "run-help $1".
>
> You have a point there. PWS, how did you manage to get run-help to
> pass the entire locate command line to "man $@:t"?
It seems I'm using this widget.
local -a line
line=(${(qq)${(z)BUFFER}})
zle push-line
BUFFER="run-help ${line}"
zle accept-line
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author