Skip to content

Instantly share code, notes, and snippets.

@sprice
Created November 24, 2011 20:13
Show Gist options
  • Save sprice/1392188 to your computer and use it in GitHub Desktop.
Save sprice/1392188 to your computer and use it in GitHub Desktop.
My bash PS1
#show git on prompt
RED='\[\033[0;31m\]'
YELLOW='\[\033[0;33m\]'
GREEN='\[\033[1;32m\]'
BLUE='\[\033[01;34m\]'
WHITE='\[\033[00m\]'
BONE='☠'
PS1='${debian_chroot:+($debian_chroot)}'$GREEN'\u@\h'$WHITE':'$BLUE'\w'$YELLOW' $(__git_ps1 "(%s)")'$RED' \[$BONE\] '$WHITE''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment