Randy McMurchy wrote: > You could probably search the archives for my name and ".profile" > and ".bashrc" and discover how I make it so that no matter how > I log in, or su, or whatever, I always have my preferred > environment. The problem isn't that there's non-login shells about - that's solved trivially :) (ln -s .bash_profile ~/.bashrc ). The problem is that when a process is launched, the exported environment is copied to the environment of the new process, and the non-exported environment is not - what I want is a way to move aliases into the exported environment, so that X has them when it parses .xinitrc, and so that other processes run from there have it. I don't think this could be solved by making sure .profile and /etc/profile are always parsed, since non-shells won't parse them. But I shall go searching anyway, just incase one of your techniques does work here. :)
-- Lennon Victor Cook -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
