On Wed, Jan 14, 2009 at 04:16:57PM -0800, Mike Castle wrote: > On Wed, Jan 14, 2009 at 8:33 AM, JoeHill <[email protected]> wrote: > > The funny thing is, I already have this in my .bash_profile: > > > > # set PATH so it includes user's private bin if it exists > > if [ -d ~/bin ] ; then > > PATH=~/bin:"${PATH}" > > fi > > I don't think .bash_profile gets sourced when you log in via an > XDM/GDM type session. (After all, when would it, since you don't > really have a login shell.)
Possible fix: echo 'if [ $SHELL = /bin/bash ]; then . $HOME/.bash_profile; fi' > /etc/X11/Xsession.d/91bash_profile This looks all too simple so someone must have thought of it previously and decided not to use it. Why? -- Tzafrir Cohen | [email protected] | VIM is http://tzafrir.org.il | | a Mutt's [email protected] | | best ICQ# 16849754 | | friend -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

