From 05535f038b03b317883bb0017f92b63dd35bb19f Mon Sep 17 00:00:00 2001 From: Marek Petlicki Date: Mon, 3 Feb 2014 16:23:19 +0000 Subject: [PATCH] Small improvements Redeclare Blue colour used to display virtualenv name: the color didn't work in git repositories. Removed ResetColor local: has no effect as ResetColor is already global and we don't change it here. --- gitprompt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gitprompt.sh b/gitprompt.sh index f12be6f..55dbf20 100755 --- a/gitprompt.sh +++ b/gitprompt.sh @@ -177,11 +177,11 @@ function updatePrompt() { local PROMPT_START local PROMPT_END local EMPTY_PROMPT - local ResetColor - local Blue local GIT_PROMPT_FETCH_TIMEOUT local __GIT_STATUS_CMD + local Blue="\[\033[0;34m\]" + git_prompt_config local -a GitStatus