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

Re: A scheme to manage several ZSH config file collections?



On Thu, Jul 24, 2008 at 16:06, Peter Stephenson <pws@xxxxxxx> wrote:

> So you're worrying about the case where multiple shells have started,
> discovered that there's no .zshrc, and are all waiting for user input?

Yes.


> No, I don't think there's an easy way round; you'd have to trap that in
> the function.  They could sleep waiting for input and checking for
> .zshrc, I suppose, but that's a bit messy.

Yah, those are the two options I came up with. Are any of the usual kill
signals in use, by default? Once zsh-newuser-install ends (itself), the
trap can simply be released and normal usage can continue.


Richard



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