[oclug] set $PATH
jeb at burkby.com
Fri Jul 11 11:12:53 EDT 2003
On Fri, Jul 11, 2003 at 10:21:43 -0400, Bart Trojanowski wrote:
> * Joe Burpee <jeb at burkby.com> [030711 10:13]:
> > This is fun stuff, but I'm not sure I see the point. Brenda explained
> > the purpose of the `profile' and `rc' files in a manner that is
> > consistent with the documentation. I realize that shell initialization
> > is convoluted and somewhat archaic. Moreover I'm a great lover of
> > kluges and hacks, provided there is a purpose. But personally I find
> > the appropriate use of a login shell, at login time, simpler and
> > clearer.
> .bash_profile is more appropriate to set the PATH, but .bash_profile is
> never read if you login using X (*dm).
Not so. Maybe I'm missing something but, as I said before, it sure
sounds like your Xsession is broken, like the one for the person who
posted previously. Again, what distro(s) are you guys talking about?
RedHat's works fine.
If that's the case, it seems to me the appropriate thing is to fix
what's broken, not add to the confusion (about shell initialization)
with unnecessary workarounds. And if you can't fix Xsession, it seems
to me ~/.xsession is a second choice.
More information about the OCLUG