title: PATH error: "not a valid identifier"
body: <p>I had to get a new hard drive on my Mac and in setting up my developer environment, I'm getting this error/message in the terminal (iTerm2):</p>
  
  <p>-bash: unset: `PATH=/usr/local/opt/icu4c/bin:/usr/local/share/npm/bin:/Users/(mycomputername)/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/(mycomputername)/bin': not a valid identifier</p>
  
  <p>From what I've been able to research myself so far, it <em>might</em> be related to installing node using brew. (I could be wrong.)</p>
  
  <p>FYI: </p>
  
  <p>which ruby
  /usr/bin/ruby</p>
  
  <p>which node
  /usr/local/bin/node</p>
  
  <p>which python
  /usr/local/bin/python</p>
  
  <p>Also, I'm using these instructions to set up. I'm aware a few things in this list are out of date:</p>
  
  <p><a href="https://github.com/nicolashery/mac-dev-setup" rel="nofollow noreferrer">https://github.com/nicolashery/mac-dev-setup</a></p>
  
  <p><strong>EDIT</strong>:</p>
  
  <p><em>Contents of ~/.bash_profile</em>:</p>
  
  <pre><code># Add Homebrew /usr/local/bin and User ~/bin to the $PATH 
  
  PATH=/usr/local/bin:$PATH PATH=$HOME/bin:$PATH 
  export PATH 
  
  # Load the shell dotfiles, and then some: # * ~/.path can be used to extend $PATH. 
  # * ~/.extra can be used for other settings you don’t want to commit. 
  
  for file in ~/.{path,bash_prompt,exports,aliases,functions,extra}; 
      do [ -r "$file" ] &amp;&amp; source "$file" 
  done 
  
  unset fileexport PATH="/usr/local/opt/icu4c/bin:$PATH" 
  export PATH="/usr/local/opt/icu4c/sbin:$PATH"
  </code></pre>