Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Number of jobs in prompt
- X-seq: zsh-users 4402
- From: Jesper Holmberg <jesper.holmberg@xxxxxxxxxxxxxxxx>
- To: zsh-users <zsh-users@xxxxxxxxxx>
- Subject: Re: Number of jobs in prompt
- Date: Fri, 19 Oct 2001 11:25:09 +0200
- In-reply-to: <20011019000105.A13783@xxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users <zsh-users@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20011018234853.C5311@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20011019000105.A13783@xxxxxxxxxxxxxxxxxxxx>
* 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