Dan Nicholson wrote these words on 09/06/05 22:25 CDT: > The "solution" I have is that I re-source half the profile scripts in my > ~/.bashrc: tinker-term.sh, xterm-titlebars.sh and dircolors.sh. Any > comments are much appreciated.
I use the following and it works for all access methods to shells, whether they be spawned by X, XDM, console logins, whatever: I'm not sure if .profile is required or not, but I use it, because everything works this way: [EMAIL PROTECTED]: ~ > cat .profile if [ -f ~/.bashrc ]; then . ~/.bashrc fi ================================== [EMAIL PROTECTED]: ~ > cat .bashrc . /etc/profile [snip everything else that I want for me] =================================== [EMAIL PROTECTED]: ~ > cat .bashrc . /etc/profile PATH=$PATH:/sbin:/usr/sbin export PATH [snip other root stuff that I have] ==================================== Then in /etc/profile, everything I want globally set up is set up here. Works for me. -- Randy rmlinux: [bogomips 3923.96] [GNU ld version 2.16.1] [gcc (GCC) 4.0.1] [GNU C Library stable release version 2.3.5] [Linux 2.6.12.6 i686] 22:50:00 up 6 days, 8:12, 7 users, load average: 0.09, 0.43, 0.28 -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page