summaryrefslogtreecommitdiff
path: root/12_Prompts.zsh
diff options
context:
space:
mode:
Diffstat (limited to '12_Prompts.zsh')
-rw-r--r--12_Prompts.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh
index c45aab9..8f7ce37 100644
--- a/12_Prompts.zsh
+++ b/12_Prompts.zsh
@@ -232,7 +232,7 @@ __subvcsbranches () {
if [ -d $(dirname $GIT_DIR)/$SUBMODULE ]
then
GITBRANCH+=${GITBRANCH:+$(tput cuf1)}
- GITBRANCH+=$C_$_prompt_colors[bar]$_C"["
+ GITBRANCH+=$C_$_prompt_colors[bar]$_C"[%{%B%}$SUBMODULE%{%b%}:"
GITBRANCH+=$(__get_git_fullstatus $(dirname $GIT_DIR)/$SUBMODULE)
GITBRANCH+=$C_$_prompt_colors[bar]$_C"]"
fi