Having just wasted half an hour of my life trying to work out the
reasons that ~/.bash_profile is not sourced .. I can't find one.
All I wanted was my bin directory working:
# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
fi
Which seems simple enough (and is the default behaviour if
~/.bash_profile is being sourced).
For now I have popped that line into /etc/bash.bashrc .. but that's a
suboptimal solution if you've got something more tricky you want to
happen at login for a single user.
I can't see the downside of sourcing ~/.bash_profile?
--
.bash_profile is not sources when X session starts
https://launchpad.net/bugs/66004
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs