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

named jobs in RPROMPT



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