Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: problems with $PATH
- X-seq: zsh-users 827
- From: Louis-David Mitterrand <mito@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: problems with $PATH
- Date: Tue, 22 Apr 1997 10:32:05 -0400
- In-reply-to: <27549.199704221416@xxxxxxxxxxxxxxxxxxxxxxx>; from Zefram on Tue, Apr 22, 1997 at 03:16:15PM +0100
- References: <19970422091657.26230@retriever> <27549.199704221416@xxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: mito@xxxxxxxxxxx
On Apr 22 97, Zefram <zefram@xxxxxxxxxxxxxxxxx> wrote:
> Louis-David Mitterrand wrote:
> >and put my PATH statement in ~/.zsh/.zshenv so that even when working in
> >an editor the shell knows my PATH. And 'echo $PATH' from the vi command
> >line gives the correct value.
> >
> >Then I have erased the PATH from ~/.zsh/.zshrc thinking that it is now
> >redundant because ~/.zsh/.zshenv is read on any invocation of the shell.
> >But when working at the normal shell prompt 'echo $PATH' does not give a
> >correct value...???
>
> Is there possibly an /etc/zprofile or /etc/zshrc modifying the path?
>
> -zefram
You are right, I had redundantly defined the PATH in both /etc/zshenv
and /etc/zprofile, this last one wiped out the ~/.zsh/.zshenv PATH
entry. I should read the docs better.
Thank you Zefram.
--
Louis-David Mitterrand
http://www.aparima.com/F1/
mito@xxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author