Hello,
In my current prompt I have a list of background jobs (if there are
any). This works like this:
myjobs=${(pj:\,:)${(k)jobstates}}
And gives a list like: 1,2
Now my question, is there any possibility to include the current job
(+ sign) and previous job (- sign) in this output? Like this: 1-,2+
Is this possible? If been fighting with $jobstates all week, but I've
been unable to extract multiple fields from this array.
thanks in advance,
--
grtz,
- Miek
GPG Key ID: 3880 D0F6 http://www.miek.nl/
Attachment:
signature.asc
Description: Digital signature