Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement