Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: get the number of active jobs to show in the prompt?
- X-seq: zsh-users 4337
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: get the number of active jobs to show in the prompt?
- Date: Thu, 04 Oct 2001 01:15:27 +0200
- In-reply-to: <011003145139.ZM29856@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20011002181324.A29201@xxxxxxxxxxxxxx>  	<200110022325.JAA07306@xxxxxxxxxxxxxxxxxxxxxxxx>  	<4ac3633923vincent@xxxxxxxxxx>  	<1011003054350.ZM25561@xxxxxxxxxxxxxxxxxxxxxxx>  	<20011003162246.C32766@xxxxxxxxxxxxxx>  	<1011003151104.ZM26311@xxxxxxxxxxxxxxxxxxxxxxx>  	<20011003173500.A1255@xxxxxxxxxxxxxx>  	<1011003155807.ZM26499@xxxxxxxxxxxxxxxxxxxxxxx>  	<20011003184755.A1397@xxxxxxxxxxxxxx>  	<1011003170926.ZM29592@xxxxxxxxxxxxxxxxxxxxxxx>  	<20011003213437.A1668@xxxxxxxxxxxxxx>  	<011003130131.ZM29770@xxxxxxxxxxxxxxxxxxxxxxx>  	<4ac3d14900vincent@xxxxxxxxxx>  	<011003144640.ZM29828@xxxxxxxxxxxxxxxxxxxxxxx> <011003145139.ZM29856@xxxxxxxxxxxxxxxxxxxxxxx>
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