Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: fg jobs info
- X-seq: zsh-users 11804
- From: Matthew Wozniski <godlygeek@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: fg jobs info
- Date: Mon, 3 Sep 2007 12:31:47 -0400
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:date:from:to:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=gO0B7p1GNrH+HRcAnBjjQZbBvFHIO0eJri676rlmVJjk5cOgg4dXFzJmjtI0Fs7pstoyTBYu/YVSYcuKz//6F4KgSS9yTeCBvc3Ky2ybZxJ14QdAaZmJatXh74VlgJ9nmQSZm4qAzd4MJBcb03/oUpBbskTqKhIytsLMf0F93qY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=BpTs3jJg4SCm4YiMOVOyattrMFoU+K0biVT4i/YDcDcYND939BGGlu/oqsvIODtCl/0+e8XDoEEJiM64DH5vRp06M2p2b9ROaxeCy+W7l8ZqWNT8L6H55soEBK87bQQCexI9ojAN3000+CzZaNnHl3gROnYaXhpN2Ao1IzDVuVw=
- In-reply-to: <070902105953.ZM22915@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20070902154306.35880.qmail@xxxxxxxxxxx> <070902105953.ZM22915@xxxxxxxxxxxxxxxxxxxxxx>
On Sun, Sep 02, 2007 at 10:59:53AM -0700, Bart Schaefer wrote:
...
> The "jobs" command should accept all the same job-identifier patterns
> as "fg", and in recent zsh "jobs" doesn't lose track of the job list
> when run in a subshell, so you can do things like
>
> fg() {
> # Obviously this needs error handling added, etc.
> typeset -g fgjob=$(jobs $*)
> builtin fg $*
> }
>
> and then stuff the title bar (or whatever) with the something parsed
> out of $fgjob.
In how recent a zsh? I can't seem to get that working with 4.3.4.
Does it require a copy compiled out of the latest {CVS,SVN} HEAD? (I
have no idea what VCS zsh uses, or the url to checkout a copy.
Forgive my ignorance. ^_^ )
If I get a chance later, and no one beats me to the punch, I'll clean
up the code I'm using with $jobtexts and post that, for those of us
who need to use 4.3.2 or later on some machines thanks to lazy
sysadmins.
~Matt
Messages sorted by:
Reverse Date,
Date,
Thread,
Author