bash_profile question
Paul Pianta
ppianta at videotron.ca
Wed Apr 6 23:51:31 UTC 2005
On Tue, 2005-05-04 at 01:01 +0300, ZIYAD A. M. AL-BATLY wrote:
> ~/.bash_profile is read and executed for *login* shells only! (either
> interactive of of non-interactive using the --login option)
Sorry for the delay ...
Thanks for the response but I am not sure I get it.
If what you are saying is true - then this piece of code ...
if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
fi
should actually be in my ~/.bashrc - not in my ~/.bash_profile.
If this is the case - then it is an ubuntu bug because the above code is
in the default .bash_profile that is standard when I installed Hoary
preview.
It would be great if other people could check and prove me wrong and let
me know that their .bash_profile is different.
So the way I see it is - there is currently some code in .bash_profile
that is there for a good reason (ie. users own 'bin' dir) - but the code
is useless because it is in the wrong file.
right or wrong?
pantz
More information about the ubuntu-users
mailing list