How do I edit $PATH (.bash_profile) on OSX?
问题 I am trying to edit an entry to PATH, as I did something wrong. I am using Mac OS X 10.10.3 I have tried: > touch ~/.bash_profile; open ~/.bash_profile But the file editor opens with nothing inside. My problem: I am trying to install ANDROID_HOME to my PATH I misspelled it, but when I closed the terminal and went back it was gone, so I tried again: export ANDROID_HOME=/<installation location>/android-sdk-macosx export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools This time, I