From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28459 invoked from network); 5 Sep 2007 11:35:14 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 5 Sep 2007 11:35:14 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 29716 invoked from network); 5 Sep 2007 11:35:08 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 5 Sep 2007 11:35:08 -0000 Received: (qmail 15214 invoked by alias); 5 Sep 2007 11:34:58 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11813 Received: (qmail 15203 invoked from network); 5 Sep 2007 11:34:58 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 5 Sep 2007 11:34:58 -0000 Received: (qmail 28085 invoked from network); 5 Sep 2007 11:34:58 -0000 Received: from atom.smasher.org (69.55.237.145) by a.mx.sunsite.dk with SMTP; 5 Sep 2007 11:34:49 -0000 Received: (qmail 94148 invoked by uid 1000); 5 Sep 2007 11:34:47 -0000 Message-ID: <20070905113447.94147.qmail@smasher.org> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Date: Wed, 5 Sep 2007 23:34:45 +1200 (NZST) From: Atom Smasher In-Reply-To: <20070905112141.GA4519@miek.nl> MIME-Version: 1.0 OpenPGP: id=0xB88D52E4D9F57808; algo=1 (RSA); size=4096; url=http://atom.smasher.org/pgp.txt References: <20070902154306.35880.qmail@smasher.org> <070902105953.ZM22915@torch.brasslantern.com> <20070903163147.GA14017@mastermind> <20070904111631.81486.qmail@smasher.org> <070904083104.ZM25598@torch.brasslantern.com> <20070905090302.72429.qmail@smasher.org> <200709050928.l859Su9h016042@news01.csr.com> <20070905112141.GA4519@miek.nl> Subject: Re: fg jobs info To: zsh-users@sunsite.dk X-POM: The Moon is Waning Crescent (35% of Full) X-Hashcash: 1:20:0709051134:zsh-users@sunsite.dk::6rbZp6FcT4n+Etx8:0000000000000 0000000000000000000000000QGm On Wed, 5 Sep 2007, Miek Gieben wrote: > 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) ============= ${(k)jobstates} ${(k)jobtexts} -- ...atom ________________________ http://atom.smasher.org/ 762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808 ------------------------------------------------- "The victor will never be asked if he told the truth." -- Adolf Hitler