Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Invocation of zshenv
- X-seq: zsh-users 17566
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Invocation of zshenv
- Date: Tue, 15 Jan 2013 13:02:47 +0000
- In-reply-to: <28298170.euN6CzUU1l@horus>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: Samsung Cambridge Solution Centre
- References: <28298170.euN6CzUU1l@horus>
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