Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
named jobs in RPROMPT
- X-seq: zsh-users 16384
- From: Daniel <quite@xxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: named jobs in RPROMPT
- Date: Sun, 18 Sep 2011 14:48:59 +0000 (UTC)
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
I wanted to have a list of background jobs, with names (and some little
marker for suspended/running) in RPROMPT. I tried by turning on prompsubst
and made jobfunction which print $jobstates and then set
RPROMPT=$(jobfunction) But I get nothing, it seems jobstates is empty
during prompt generation? How can I do this?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author