Skip to content

Instantly share code, notes, and snippets.

@urschrei
Created March 17, 2015 15:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save urschrei/6b45fbc38d2b1d2f442b to your computer and use it in GitHub Desktop.
Save urschrei/6b45fbc38d2b1d2f442b to your computer and use it in GitHub Desktop.
GIT_PS1_SHOWDIRTYSTATE=1
GIT_PS1_SHOWSTASHSTATE=1
GIT_PS1_SHOWUNTRACKEDFILES=1
GIT_PS1_SHOWUPSTREAM="verbose"
export GIT_PS1_SHOWDIRTYSTATE
export GIT_PS1_SHOWSTASHSTATE
export GIT_PS1_SHOWUNTRACKEDFILES
export GIT_PS1_SHOWUPSTREAM
PS1='\[\e[32m\]\u\[\e[00m\]:\[\e[34m\]\w\[\e[00m\]\[\e[35m\]$(__git_ps1 " (%s)")\[\e[00m\] $ '
export PS1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment