diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2012-03-08 13:45:04 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2012-03-08 13:47:21 +0100 |
commit | 4d7cfb05b81ff4301f0c2e58cbfa763cf9dfd909 (patch) | |
tree | cd2d1342c84a03cd273f112353e8f9c7e09fabcc | |
parent | bd2cf0596e034faa04528658e0355ac4ed319871 (diff) |
[Prompt] subdirvcsinfo
-rw-r--r-- | 12_Prompts.zsh | 2 | ||||
-rw-r--r-- | 61_VCS.zsh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh index e77cf4b..ac71fc9 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -293,7 +293,7 @@ __update_prompt_elements() CURDIR=${CURDIR/\/$SUBDIR/} fi CURDIR="$C_$_prompt_colors[path]$_C%`echo $spaceleft`<..<"$CURDIR"%<<$C_$color[none]$_C" - [ "$VCSSUBDIR" = "$SUBDIR" ] && CURDIR+=$C_$color[cyan]";"$color[bold]$_C"/"$C_$_prompt_colors[path]$_C$VCSSUBDIR + [ "$VCSSUBDIR" = "$SUBDIR" ] && CURDIR+=$C_$_prompt_colors[path]$_C"/"$C_$_prompt_colors[generic]$_C$VCSSUBDIR [ "$DEBUG" = "yes" ] && echo } @@ -13,8 +13,8 @@ _reset_=$C_$_prompt_colors[soft_generic]$_C autoload -Uz vcs_info -zstyle ':vcs_info:*' formats "$_reset_ [%c%u%b$_reset_]" "%R" "%S" -zstyle ':vcs_info:*' actionformats "$_reset_ [(%B%a$_reset_) %c%u%b$_reset_]$_reset_" "%R" "%S" +zstyle ':vcs_info:*' formats "$_reset_ %c%u%b$_reset_" "%R" "%S" +zstyle ':vcs_info:*' actionformats "$_reset_ (%B%a$_reset_) %c%u%b$_reset_" "%R" "%S" zstyle ':vcs_info:*' stagedstr "$C_$color[yellow];$color[bold]$_C" zstyle ':vcs_info:*' unstagedstr "$_C_$color[green]$_C" zstyle ':vcs_info:*' check-for-changes true |