Created
January 5, 2012 13:04
-
-
Save davedevelopment/1565175 to your computer and use it in GitHub Desktop.
Git bash prompt
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
# .bashrc | |
export GIT_PS1_SHOWDIRTYSTATE="true"; | |
export GIT_PS1_SHOWSTASHSTATE="true"; | |
export GIT_PS1_SHOWUNTRACKEDFILES="true"; | |
export GIT_PS1_SHOWUPSTREAM="verbose" | |
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:$(__git_ps1 [%s])\[\033[01;34m\]\W\[\033[00m\]\$ ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment