Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: problem with push-line-or-edit and precmd?
- X-seq: zsh-workers 26338
- From: Greg Klanderman <gak@xxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: problem with push-line-or-edit and precmd?
- Date: Sat, 17 Jan 2009 01:39:26 -0500
- In-reply-to: <090116200852.ZM22480@xxxxxxxxxxxxxxxxxxxxxx> (Bart Schaefer's message of "Fri, 16 Jan 2009 20:08:52 -0800")
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <18801.2149.303884.532633@xxxxxxxxxxxxxxxxxx> <090116200852.ZM22480@xxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: gak@xxxxxxxxxxxxxx
>>>>> Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> writes:
> The side-effects of this include that a zle widget can't do anything
> after push-line-or-edit (the widget forcibly exits), the status is
> set to nonzero, and precmd runs because the editor has restarted, all
> as if the user hit ctrl+c.
So this is only a problem for push-input and push-line-or-edit?
I know it might not be the most elegant solution, but could some
global be set to inhibit the running of precmd and/or clear the error
status when these commands are used?
I really can't believe I never noticed this, I use those commands all
the time, and have had a precmd like that forever.
thanks,
Greg
Messages sorted by:
Reverse Date,
Date,
Thread,
Author