Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: have '&' automatically disown?
- X-seq: zsh-workers 27670
- From: Peter Stephenson <pws@xxxxxxx>
- To: Zsh list <zsh-workers@xxxxxxx>
- Subject: Re: have '&' automatically disown?
- Date: Fri, 05 Feb 2010 17:33:11 +0000
- In-reply-to: <19308.20198.797192.607014@xxxxxxxxxxxxxxxxxx>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <19308.20198.797192.607014@xxxxxxxxxxxxxxxxxx>
Greg Klanderman wrote:
> Just wondering here.. I almost never use job control, and so almost
> always use '&!' for background commands. I was thinking it would
> be nice to not have to type all those '!'s.. but I don't see a setting
> to have '&' alone default to the disown behavior. Is there some way
> to do that which I've missed?
Well, if you really almost never use job control you can "unsetopt
monitor" until the occasion when you actually need it... but note that
that will unhide any job you didn't actually disown, so swapping between
the two modes isn't particularly helpful. In other words, turning off
the option doesn't actually stop the shell recording jobs, only
reporting them. I've a vague feeling this is supposed to be a feature.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
Tel: +44 (0)1223 692070 Cambridge Silicon Radio Limited
Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, UK
Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
Messages sorted by:
Reverse Date,
Date,
Thread,
Author