SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. export NVM_DIR="$HOME/.nvm"
  2. . "/usr/local/opt/nvm/nvm.sh"
  3.  
  4. # Git completion
  5. source ~/git-completion.bash
  6.  
  7. # Git branch in prompt.
  8. parse_git_branch() {
  9.   git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
  10. }
  11.  
  12. export PS1="\u:\[\e[35m\]\w\[\e[m\]\[\e[37;40m\]\[\033[32m\]\$(parse_git_branch)\[\033[00m\] $ "
  13.  
  14. # binds
  15. bind Space:magic-space
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top