AFAIK, it is better to add environment variables to your ~/.bash_profile, because this is only read on login and not each time you start a new shell.
If you want to make the changes take effect without logging out and in again, run the command "source ~/.bash_profile"
I hope this helps
--Ian
|