diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-08-23 11:12:23 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-08-23 11:12:23 +0200 |
commit | 0bfce961845e423f24d3d7015dde05b9a5917d07 (patch) | |
tree | ae0b108a46cbc14e9f17ed3b475249c379efea42 /12_Prompts.zsh | |
parent | 61301a7ca3fca550e5fd5c61cd20d72f5c65b4e7 (diff) |
[Prompts][Git] Shows submodules path
Diffstat (limited to '12_Prompts.zsh')
-rw-r--r-- | 12_Prompts.zsh | 2 |
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 |