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

Re: get the number of active jobs to show in the prompt?



In article <011003145139.ZM29856@xxxxxxxxxxxxxxxxxxxxxxx>,
   Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:

> I just realized you need to add "zle -R" right before the call to "precmd".

Even with that, there are several problems:
  _ the %? has a bad value;
  _ I need to display RPS1 too (if it was displayed before the
    clear-screen);
  _ it doesn't work with non-PS1 prompts (with such prompts the current
    behaviour would be OK for me).

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/> - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des
Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Messages sorted by: Reverse Date, Date, Thread, Author