Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: jobs not listing all commands
- X-seq: zsh-workers 19432
- From: James Devenish <j-devenish@xxxxxxxxxxxxxxxxxxxxx>
- To: zw <zsh-workers@xxxxxxxxxx>
- Subject: Re: jobs not listing all commands
- Date: Wed, 18 Feb 2004 08:25:53 +0800
- In-reply-to: <1040217221439.ZM12330@xxxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zw <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20040217075827.1498.qmail@xxxxxxxxxxxxxxxxxxxxxxx> <1040217221439.ZM12330@xxxxxxxxxxxxxxxxxxxxxxx>
In message <1040217221439.ZM12330@xxxxxxxxxxxxxxxxxxxxxxx>
on Tue, Feb 17, 2004 at 10:14:39PM +0000, Bart Schaefer wrote:
> On Feb 16, 11:58pm, Felix Rosencrantz wrote:
> } ps also note another "bug" with "%j" and the prompt. when the sleep
> } finishes, the prompt doesn't update.
> Prompts don't update between two interactive commands, ever, no matter
> what the reason. The prompt string is computed when ZLE initializes
> (just before it is first printed) and is thereafter used verbatim until
> the next re-initialize.
I'm a bit confused by both of the both comments. Firstly, %j works "as a
user would expect" for me in zsh v4.1.1 (i.e. I get the behaviour that
Felix expects). Secondly, %t, %@, %T, %*, %? (etc.) work as expected in
PS1, so why should we not expect %j to work? Thirdly, Felix demonstrated
that %j could could /up/ (i.e. the prompt *did* get updated between
interactive commands) and he was questioning why it didn't also count
/down/.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author