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

Re: remote function problems.



Andrej Borsenkow wrote:
>We already discussed it. IMHO it is bad idea to put this in zshenv. This will be
>executed for every shell, including zsh scripts, and not ony slows it down but,
>what's worse, function defintions may clash with external commands; it may
>redefine some commands script relies upon; etc ...

That's why zsh scripts start "#!.../zsh -f".  zshenv is the right place
to define functions.

-zefram



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