Hi Folks ,
One of my friends ( he's newbie in Mac OSX enviroment) asked me about how to change $PATH variable in Mac OSX 3 days ago.
I said that "I can't remember well but let me check in minutes.." :)
At first , it's not easy as much as Windows :) ( Yeah , I heard you :) it depends : )
Open a terminal window in Mac OSX and write this
then it'll open a TextEdit application with your .bash_profile file.
so you can add a new path like this.. ( in case you need to add /Elma/bin )
and please save your changes and exit from TextEdit then write your terminal window this :
You can see your changes immediately after running this command.
it's very easy as you see.
PS : You should get a backup before changing it..