title: How to edit PATH variable in Mac 10.8.2?
body: <p>I'm having a lot of trouble editing my <code>PATH</code>. I've seen instructions to add to the front or to the back of <code>PATH</code>, but I would actually like to change the order of places in my <code>PATH</code>, so I would really just like access to edit it.** </p>
  
  <p>I've been using the terminal so far, because I have no idea how to access <code>PATH</code> otherwise. </p>
  
  <p>When I try <code>ECHO $PATH</code> I get: </p>
  
  <pre><code>/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
  </code></pre>
  
  <p>However, I can't seem to find any file where all this information is contained.</p>
  
  <p>For one thing, I don't seem to have a <code>.profile</code> in my home directory, or anywhere else.
  The only file which seems to contain any PATH related information is my <code>~/.bash_profile</code> but this file only seems to handle the adding of Python and RVM related locations to the <code>PATH</code>. </p>
  
  <p>I would really appreciate it if someone could help me understand how to edit PATH/where to access it. 
  Also, should I be concerned that I don't have a .profile? Is that something I should somehow create?</p>
  
  <p>Thank you!</p>
  
  <p>**The reason I'd like to be able to edit PATH rather than just append paths to the start or end, is because Homebrew reccommends that /usr/local/bin come before /usr/bin in the PATH.</p>