Skip to content

Instantly share code, notes, and snippets.

@mdeltito
Created February 29, 2012 16:42
Show Gist options
  • Save mdeltito/1942328 to your computer and use it in GitHub Desktop.
Save mdeltito/1942328 to your computer and use it in GitHub Desktop.
# update PS1 to include git branch
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\[$(tput setaf 3)\]$(__git_ps1)\[$(tput setaf 7)\]$ '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment