Created
          December 10, 2017 00:45 
        
      - 
      
- 
        Save wreulicke/3c95dd334341738b54e90d8275b3c707 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | export GOPATH=$HOME/go | |
| export PATH=/usr/local/bin:$GOPATH/bin:$PATH | |
| show_branch(){ | |
| git rev-parse --abbrev-ref HEAD 2> /dev/null | sed -e 's/^.*\///1' | |
| } | |
| PS1="\[\033[31m\]\u\[\033[0m\]: \[\033[32m\]\W \[\033[33m\](\$(show_branch))\[\033[00m\] $ " | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment