commit ed8a80e7f5dd4cf3fb9d18d9848d43844e131f0b
parent 1f5055296668f1d5ecb55d70072af3d8114c2e3f
Author: Ed van Bruggen <edvb54@gmail.com>
Date: Tue, 11 Nov 2014 18:01:47 -0800
Bash: Fix colors in git branch name from counting as characters
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bashrc b/bashrc
@@ -56,7 +56,7 @@ git_color() {
PS1='\[${Blue}\]\u \
\[$(check_color)\]$(random_face) \
-$(__git_ps1 "$(git_color)%s ")\[${White}\]\
+\[$(git_color)\]$(__git_ps1 "%s ")\[${White}\]\
\$\[${Color_Off}\] '
# PS1="${Blue}\u@\h${Color_Off}:${Cyan}\w${White}❯❯${Color_Off} "