Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: jobs not listing all commands



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