Skip to content

Instantly share code, notes, and snippets.

@gr4y
Created September 11, 2010 14:59
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 gr4y/575251 to your computer and use it in GitHub Desktop.
Save gr4y/575251 to your computer and use it in GitHub Desktop.
# show the actual git branch in command line prompt
export PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w $(__git_ps1 "[%s]") $ '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment