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

Re: Invocation of zshenv



On Tue, 15 Jan 2013 12:14:45 +0100
Florian Lindner <mailinglists@xxxxxx> wrote:
> I have some PATH, EDITOR and PYTHONPATH set in my .zshenv. As far as
> I understand it zshenv should be invoced on every kind of shell but
> when I login using SSH it is not being sourced.
> 
> What is the file to put such things that should be available in
> _every_ shell session?

.zshenv is the file to use.  If it's not being sourced on some
occasions, something somewhere is changing the configuration.  The only
ways of doing this I can think of are for something in /etc/zshenv to
stop it by setting the option NO_RCS, or for the environment variable
ZDOTDIR to point to a different directory, or for some emulation mode
such as ksh that doesn't use it to be in effect.

pws



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