Michael Homer wrote: ... >> I still don't get the reason why env stuff shouldn't be in zprofile, >> since it seems to work in all cases. (It *is* read by interactive shells >> too, as promised in the zsh manpages) > > I don't have time to reply to the rest of it right now (out the door > in a couple of minutes), and Nick looked to have a reasonable response > below, but that just isn't true. zprofile is *not* read by interactive > shells, as promised by the zsh manpages. Only by login shells. But if > there's a login shell somewhere up the hierarchy (either an > interactive or noninteractive one), PATH and so forth should be > inherited by the usual mechanisms and work.
At least mine *does* read zprofile in interactive shells: I put echo lines at the end of my .zshrc and .zprofile and when I now launch an xterm -ls I get this: reading .zprofile reading .zshrc [EMAIL PROTECTED] ~] And this is supported by the docs, from the zshall manpage, section STARTUP/SHUTDOWN FILES: "If the shell is a login shell, commands are read from /etc/zprofile and then $ZDOTDIR/.zprofile. Then, if the shell is interactive, commands are read from /etc/zshrc and then $ZDOTDIR/.zshrc." -- /Jonatan [ http://kymatica.com ] _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel