I am having trouble editing my PATH . I saw instructions for adding to the front or back to PATH , but I would like to change the order of the places in my PATH , so I would just like the access to edit it. **
I still use the terminal because I have no idea how to access PATH otherwise.
When I try ECHO $PATH , I get:
/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/2.6/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/erensila/.rvm/bin
However, I cannot find the file that contains all this information.
Firstly, I don't seem to have a .profile in my home directory or anywhere else. The only file that appears to contain any PATH related information is my ~/.bash_profile , but this file seems to handle adding Python and RVM related locations to PATH .
I would really appreciate it if someone could help me understand how to edit PATH / where to access it. Also, should I be worried that I don't have .profile? Should I create something?
Thanks!
** The reason I want to be able to edit PATH, and not just add paths to the beginning or end, is because Homebrew recommends that / usr / local / bin come before / usr / bin in PATH.
source share