Skip to content

Instantly share code, notes, and snippets.

@pgroudas
pgroudas / git_ps1.sh
Created October 5, 2011 06:16
Adding a good PS1 for working with git
GREEN='0;32m'
YELLOW='1;33m'
PS1='[\u@\h \[\033[$GREEN\]\W\[\033[0m\]\[\033[$YELLOW\]$(__git_ps1 " (%s)")\[\033[0m\]]\$ '