Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: fg jobs info
- X-seq: zsh-users 11816
- From: Miek Gieben <miek@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: fg jobs info
- Date: Wed, 5 Sep 2007 14:18:45 +0200
- In-reply-to: <20070905114025.GE25214@xxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20070902154306.35880.qmail@xxxxxxxxxxx> <070902105953.ZM22915@xxxxxxxxxxxxxxxxxxxxxx> <20070903163147.GA14017@mastermind> <20070904111631.81486.qmail@xxxxxxxxxxx> <070904083104.ZM25598@xxxxxxxxxxxxxxxxxxxxxx> <20070905090302.72429.qmail@xxxxxxxxxxx> <200709050928.l859Su9h016042@xxxxxxxxxxxxxx> <20070905112141.GA4519@xxxxxxx> <20070905114025.GE25214@xxxxxxxxxxxxxxx>
[On 05 Sep, @13:40, Frank Terbeck wrote in "Re: fg jobs info ..."]
> Miek Gieben <miek@xxxxxxx>:
> > [On 05 Sep, @11:28, Peter Stephenson wrote in "Re: fg jobs info ..."]
> > > Atom Smasher wrote:
> > > > maybe in the process of working out the bugs, there can be some added
> > > > functionality to add a variable that automagically returns the text of the
> > > > fg'd job.
> > >
> > > That's $jobtexts.
> >
> > Is there a way to get the jobnumber from any of these variables.
> > $jobstates includes a lot, but not the actual job number.
> > (I want to list the current job numbers in my prompt - if there are
> > any)
>
> [snip]
thanks for the respones, I got what I want:
myjobs=${(pj:\,:)${(k)jobstates}}
grtz Miek
Attachment:
signature.asc
Description: Digital signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author