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

Re: DIY ZSH



On Wed, Mar 11, 2015 at 09:22:38PM +0000, zzapper wrote:
> Hi
> I believe that you can extend zsh by writing your own modules functions 
> etc.
> But how many of you are actually doing this and what sort of things are you 
> doing?

I've written a simple zsh module to call

prctl(PR_SET_CHILD_SUBREAPER, reaping);

so that orphaned subprocesses won't get adopted by farther processes
(e.g. init) when the shell is still there. It requires a recent Linux
kernel.

-- 
Best regards,
lilydjwg



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