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

Re: have '&' automatically disown?



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