Guest User

Untitled

a guest
May 24th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. parse_git_branch() {
  2. git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
  3. }
  4.  
  5. export PS1="\u@\h \[\033[32m\]\w - \$(parse_git_branch)\[\033[00m\] $ "
  6.  
  7. export CLICOLOR=1
  8. export LSCOLORS=gxBxhxDxfxhxhxhxhxcxcx
Add Comment
Please, Sign In to add comment