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, 2 insertions, 0 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh
index dc6ffdc..c45aab9 100644
--- a/12_Prompts.zsh
+++ b/12_Prompts.zsh
@@ -232,7 +232,9 @@ __subvcsbranches () {
if [ -d $(dirname $GIT_DIR)/$SUBMODULE ]
then
GITBRANCH+=${GITBRANCH:+$(tput cuf1)}
+ GITBRANCH+=$C_$_prompt_colors[bar]$_C"["
GITBRANCH+=$(__get_git_fullstatus $(dirname $GIT_DIR)/$SUBMODULE)
+ GITBRANCH+=$C_$_prompt_colors[bar]$_C"]"
fi
done
echo $GITBRANCH