From 78289b1b652f37e9068f0857f8720a9bf54915d5 Mon Sep 17 00:00:00 2001 From: Gea-Suan Lin Date: Mon, 2 Jul 2012 15:10:33 +0800 Subject: [PATCH] bugfix for ansi code --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 66fa3d3..8aeca4b 100644 --- a/.bashrc +++ b/.bashrc @@ -62,7 +62,7 @@ if [ -z "$WINDOW" ]; then if type __git_ps1 > /dev/null 2>&1; then PS1='\[\e[G\e[m\e[32m\]\u\[\e[m\]@\[\e[36m\]\h\[\e[m\] [\[\e[32m\]\w\[\e[m\]] [\[\e[36m\]\A\[\e[m\]]\[\e[1;30m\]$(__git_ps1)\[\e[m\] ' else - PS1='\[\e[G\e[m\e[32m\]\u\[\e[m\]@\[\e[36m\]\h\[\e[m\] [\[\e[32m\]\w\[\e[m\]] [\[\e[36m\]\A\[\e[m\]]\[\e[1;30m\] ' + PS1='\[\e[G\e[m\e[32m\]\u\[\e[m\]@\[\e[36m\]\h\[\e[m\] [\[\e[32m\]\w\[\e[m\]] [\[\e[36m\]\A\[\e[m\]]\[\e[0m\] ' fi else if type __git_ps1 > /dev/null 2>&1; then