Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: widget called when zle starts.
- X-seq: zsh-workers 19282
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: PATCH: widget called when zle starts.
- Date: Sat, 13 Dec 2003 19:34:04 +0000
- In-reply-to: <20031212225314.AE2BA84C8@xxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20031212225314.AE2BA84C8@xxxxxxxxxxxxxxxxxxxxxxxx>
On Dec 12, 10:53pm, Peter Stephenson wrote:
}
} If it's really this simple, it's definitely worth having.
I'm a bit concerned that this is going to be called at unexpected times,
such as every pass around a "select" loop, or right before printing the
to PS2 prompt, etc. Normally I'd think one only wants it called before
the first PS1 prompt, at approximately the same time as precmd.
A comment on the example:
} +example(zle-line-init() { zle -K vicmd; }
It might be worth mentioning that this is the same as
zle-line-init() { zle vi-cmd-mode }
(The trailing ';' isn't necessary, is it?)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author