Last active
August 29, 2015 13:57
-
-
Save cad-san/9869823 to your computer and use it in GitHub Desktop.
cygwinで __git_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
# Terminal Color Setting | |
if [ -f /etc/bash_completion.d/git-prompt.sh ] ; then | |
source /etc/bash_completion.d/git-prompt.sh | |
PS1='\[\033[1;34m\]\u@\h:\[\033[0;33m\]\w$(__git_ps1)\[\033[0m\]\n\$' | |
else | |
PS1="\[\033[1;34m\]\u@\h:\[\033[0;33m\]\w\[\033[0m\]\n\$" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment