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

Re: Weird behaviour with exporting PATH



On 2006-11-05 13:22:39 +0100, Stephan Windmüller wrote:
> On Sun, 05. Nov 2006, Frank Terbeck wrote:
> 
> > > This file is not processed on my system. Do I have to source it
> > > manually?
> > Stephane probably meant '.zprofile', see
> > <http://zsh.dotsrc.org/Doc/Release/zsh_4.html#SEC17>.
> 
> Ah, but this is only sourced for login-shells.

Yes, and it is sourced after ".zshenv", while one may need to set $PATH
before some commands in ".zshenv". For instance:

head -1 /dev/null 2>/dev/null || export _POSIX2_VERSION=199209

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



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