[gobolinux-devel] env vars in /etc/zprofile instead of zshrc
Jonatan Liljedahl
lijon at kymatica.com
Wed Apr 2 00:46:35 NZDT 2008
MJ Ray wrote:
> Jonatan Liljedahl <lijon at kymatica.com> wrote: [...]
>> Now, this runs .zprofile but not .zshrc, so I have put all my custom
>> environment variables in ~/.zprofile. But there's lots of things in
>> /etc/zshrc that should go in /etc/zprofile! For example reading the
>> Environment files from packages. This means that my desktop runs without
>> these environment variables set, and gives lots of troubles...
>>
>> The fix would be to move things to /etc/zprofile, like this: [...]
>
> The fix is to stop using Environment files as much as possible and to
> load the few that are needed into the xsession, rather than every
> piddling shell, but there seems to be no stomach for that. :-(
What about console users? Surely you would like your environment set up
correctly in all login situations, regardless of it beeing an
interactive text shell or an X session.
--
/Jonatan [ http://kymatica.com ]
More information about the gobolinux-devel
mailing list