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

Re: zsh handling of non-standard if-evaluations

> And this is also failing. I made a bug for RH about this at:
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225454
> But.. reading more about this it seems that placing settings etc in
> zsh startup scripts seems to be a source for endless debate.
> For example, admin sets locales in /etc/profile but I want use locale
> settings I set up in my init files in any case. .zshenv would be
> logical, I guess, but it's too early as /etc/profile gets sources
> later. .zprofile won't work because it's not sources when starting an
> xterm. And .zshrc is no good because it's not sourced when session is
> not interactive!

Oh, crap.. It turned out that Red Hat defaults source /etc/profile et
al both from /etc/zprofile and /etc/zshrc! I'll be complaining to them
at the above mentioned bug :(


TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.

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