From b0f48111887f022c9ca6524d3c8fde9f6c8adc26 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sun, 22 Jan 2012 22:47:07 +0100 Subject: prompt: add braces around vcs status --- bashrc/common/prompt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bashrc') diff --git a/bashrc/common/prompt.sh b/bashrc/common/prompt.sh index 71e0598..0311505 100644 --- a/bashrc/common/prompt.sh +++ b/bashrc/common/prompt.sh @@ -95,7 +95,7 @@ __make_prompt() { b=${b#refs/heads/} b=${b// } - [[ -n "${r}${b}${a}" ]] && s="$(pcolor lgreen)${r:+${r}:}$(pcolor yellow)${b}$(pcolor red)${a}$(pcolor)" + [[ -n "${r}${b}${a}" ]] && s="${PS1BO}$(pcolor lgreen)${r:+${r}:}$(pcolor yellow)${b}$(pcolor red)${a}$(pcolor)${PS1BC}" fi fi -- cgit v1.2.3