On 11/11/99 Aaron Van Couwenberghe wrote:
Non login shells use ~/.bashrc, while login shells use /etc/profile and ~/.bash_profile. I'm not sure I agree with this approach, but it's what happens. So, just cobble together an appropriate .bashrc and all should be well.
I do not like this solution, environment variables belong in .*profile and besides that there are system wide variables that should be loaded as well, in /etc/profile, one example: if the sysadmin changes the PATH in /etc/profile then xdm users will not benefit (unless he remembers to change the Xresource for XDM).
I would rather fix this so that the real profiles are loaded like they are on a console session, I do not see why that should not be done.
Best Regards, Ethan Benson To obtain my PGP key: http://www.alaska.net/~erbenson/pgp/