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

Re: Problems with zsh's job control and running jobs



[Peter Stephenson]

> On Thu, 2 Sep 2010 15:30:26 +0100
> Peter Stephenson <Peter.Stephenson@xxxxxxx> wrote:
> 
> > On Thu, 2 Sep 2010 15:47:47 +0200
> > Haakon Riiser <haakon.riiser@xxxxxxxxxx> wrote:
> > > If not, is it possible to make "&" disown jobs by default?
> > 
> > I got this to work.
> 
> ... though it does exceed the requirements a bit.  If you background a job,
> it will pick it up and disown that.  That may or may not be a feature.  If
> it isn't you need to look at a history to get this proposal to work.

Thank you very much for this code!  Not only did it solve my problem
perfectly, it also taught me about the handy hooks mechanism.
The fact that it disowns bg'd jobs is a feature in my book. :-)

-- 
 Haakon



Messages sorted by: Reverse Date, Date, Thread, Author