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

Re: Number of jobs in prompt



* On Fri Oct 19, Michal Politowski wrote:
> have in my prompt the sequence:
> %(1v.(bg %v%).)
> 
> and have the following precmd defined:
> precmd() { psvar[1]=$#jobtexts; [[ $#jobtexts -eq 0 ]] && psvar[1]=(); }

I don't think I understand this solution, and my initial attempts to
implement it have been unsuccessful. But I'll take a look at it during
the weekend. Thanks.

Jesper

-- 
          Jesper Holmberg            |"But how can |
  jesper.holmberg@xxxxxxxxxxxxxxxx   | one be warm |
ENST Br, BP 832, 29285 Brest, FRANCE | alone?"     |



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