Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Show branch of current repository
- source /usr/share/git-core/contrib/completion/git-prompt.sh
- export GIT_PS1_SHOWDIRTYSTATE=true
- export GIT_PS1_SHOWUNTRACKEDFILES=true
- export GIT_PS1_SHOWUPSTREAM=true
- export PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
Add Comment
Please, Sign In to add comment