From 12c2305329753576126cfe6f341d91f75f4e251e Mon Sep 17 00:00:00 2001 From: Hubert Date: Wed, 26 Mar 2014 23:34:40 +0100 Subject: [PATCH] Fix typo Closing '}' should come before '\]', not after --- gitprompt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitprompt.sh b/gitprompt.sh index 06600ad..67b6568 100755 --- a/gitprompt.sh +++ b/gitprompt.sh @@ -108,7 +108,7 @@ function git_prompt_config() EMPTY_PROMPT=$OLD_GITPROMPT else if [[ -n "${VIRTUAL_ENV}" ]]; then - EMPTY_PROMPT="(\[${Blue}\]$(basename "${VIRTUAL_ENV}")\[${ResetColor\]}) ${PROMPT_START}$($prompt_callback)${PROMPT_END}" + EMPTY_PROMPT="(\[${Blue}\]$(basename "${VIRTUAL_ENV}")\[${ResetColor}\]) ${PROMPT_START}$($prompt_callback)${PROMPT_END}" else EMPTY_PROMPT="${PROMPT_START}$($prompt_callback)${PROMPT_END}" fi