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

Re: If then Prompt



On 24/05/07, fREW <frioux@xxxxxxxxx> wrote:
Hey all,

I was thinking that it would be cool to show the number of jobs if
there were more than 0 jobs.  I know you can do this with things like
the return value, is there any way to do it with jobs?

Sure,
PS1=$'%(1j.%j jobs .)'

--
Mikael Magnusson



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