title: Git Branch name won't show up on Mac Terminal
body: <p>I added the following lines to my Mac's <code>~/.bash_profile</code>:</p>
  
  <pre class="lang-sh prettyprint-override"><code>parse_git_branch() {
       git branch 2&gt; /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
  }
  
  #Variables
  userName="\u"
  fullPath="\w"
  systemName="\h"
  
  #'$(tput setaf 14)' allows coloring for the prompt
  #that immediately follows it. 14 is the color aqua.
  #A list of colors can be accessed below:
  #https://jonasjacek.github.io/colors/
  
  #`$(tput sgr0)` stops the text coloring from continuing on.
  
  #Personalized Terminal
  PS1="\[$(tput setaf 118)\]${userName}\[$(tput setaf 3)\]@${systemName}\[$(tput setaf 14)\]${fullPath}\[$(tput setaf 222)\]\[$(parse_git_branch)\]\[$(tput setaf 160)\]$ \[$(tput sgr0)\]"
  export PS1;
  
  #export PS1="\u@\h \W\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ "
  
  #------- Aliases -------
  
  #Open Sublime Text Editor
  alias subl="open -a /Applications/Sublime\ Text.app"
  export ANDROID_HOME=/Users/$USER/Library/Android/sdk
  export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
  </code></pre>
  
  <p>The Terminal styling looks good, but my <code>parse_git_branch</code> doesn't show the name of my git branches.  I screwed up in defining the <code>PS1</code> value, but I'm not sure what I did wrong.</p>