summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-01-22 22:47:07 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2012-01-22 22:47:52 +0100
commitb0f48111887f022c9ca6524d3c8fde9f6c8adc26 (patch)
tree14bee0b587c2d4c0b2d3ef2ff8b9270d2b73af96
parent3071119235c81696cf7b23abfa0e685539856a41 (diff)
downloaddotfiles-b0f48111887f022c9ca6524d3c8fde9f6c8adc26.tar.gz
dotfiles-b0f48111887f022c9ca6524d3c8fde9f6c8adc26.tar.xz
dotfiles-b0f48111887f022c9ca6524d3c8fde9f6c8adc26.zip
prompt: add braces around vcs status
Diffstat (limited to '')
-rw-r--r--bashrc/common/prompt.sh2
1 files changed, 1 insertions, 1 deletions
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