On Mon, 28 Jan 2013 19:57:49 +0300 (FET) zyx@xxxxx wrote: > Wondering whether there is a way to call some function automatically > when zsh forks. I think you'd probably need a new hook. There's a mechanism for this, widely used by completion, and it's probably not that heavyweight, but I've never dealt directly with it. pws