Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: run-help's man arguments
- X-seq: zsh-workers 27044
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: run-help's man arguments
- Date: Mon, 08 Jun 2009 15:03:58 +0100
- In-reply-to: <20090608135410.GA26835@xxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <2161.1244200252@xxxxxxx> <C141D892-5C34-428A-87C2-4ABC5A60BFC1@xxxxxxxxxxxxxxxxx> <090605225330.ZM551@xxxxxxxxxxxxxxxxxxxxxx> <200906080852.n588qJaK000472@xxxxxxxxxxxxxx> <20090608135410.GA26835@xxxxxxxx>
Clint Adams wrote:
> On Mon, Jun 08, 2009 at 09:52:19AM +0100, Peter Stephenson wrote:
> > It seems I'm using this widget.
> >
> >
> > local -a line
> >
> > line=(${(qq)${(z)BUFFER}})
> > zle push-line
> > BUFFER="run-help ${line}"
> > zle accept-line
>
> Presumably we can't start doing something like this by default
> because of the default alias to man.
True, although if it seems useful it can be mentioned in the
documentation for the replacement run-help. Based on recent experience,
I haven't been finding it *that* useful. With a widget like this,
run-help could be made cleverer in this respect by offering to give help
for words following coproc, noglob, etc.
--
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