Created
May 10, 2012 19:24
-
-
Save inkel/2655277 to your computer and use it in GitHub Desktop.
PS1
This file contains 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
_gs_ps1() { | |
[[ -z $GS_NAME ]] || echo "[$GS_NAME] " | |
} | |
export PS1="\n\[\033[01;32m\]\w \[\033[1;33m\]\$(_gs_ps1)\[\033[01;31m\]\$(__git_ps1 \"(%s) \")\[\033[01;36m\]>>\[\033[00m\] " | |
export PS1="\[\033[G\]$PS1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment