Created
November 24, 2011 20:13
-
-
Save sprice/1392188 to your computer and use it in GitHub Desktop.
My bash PS1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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