Created
May 21, 2014 23:39
-
-
Save corrigat/52ca85e6b23022492557 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
export PS1='`if [ $? = 0 ]; then echo "\[\033[01;32m\]○"; else echo "\[\033[01;31m\]✘"; fi` \[\e[01;30m\]\t \[\033[01;36m\]\h\[\033[01;34m\] \w\[\033[35m\]$(__git_ps1 " %s") \[\033[01;34m\]\n入\[\033[00m\] ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment