On 10/5/07, Paul Dann <[EMAIL PROTECTED]> wrote: > Hello, > > I've just discovered that on my system (013), all the default > environment variables are being set from zshrc, which will only be > executed if the shell is interactive. Maybe I'm stupidly missing > something, but shouldn't that be in zprofile, so that they are defined > only for login shells? I discovered this because of trying to create a > sheltered environment free of system variables (à la LFS), and noticing > that variables were being defined after my .zprofile.
According to the zsh manual, /etc/zprofile is for login shells only. Not sure if that would be the ideal behavior -- I may be mistaken here, but I got used to have variables updated when I open a new terminal, rather than having to logout and login again. -- Hisham _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel