Skip to content

Instantly share code, notes, and snippets.

@gr4y
Created September 11, 2010 14:59
Show Gist options
  • 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