From 38381148af5e4b70430888fc52ad16ef8dbb55f6 Mon Sep 17 00:00:00 2001 From: ds6 Date: Tue, 9 Jan 2018 09:51:30 -0600 Subject: [PATCH] add %r to vcs_info --- base/.zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/.zshrc b/base/.zshrc index 013f431..ec0a6cc 100644 --- a/base/.zshrc +++ b/base/.zshrc @@ -74,8 +74,8 @@ zle -N zle-keymap-select autoload -Uz vcs_info zstyle ':vcs_info:*' enable git -zstyle ':vcs_info:git*' formats "%c%u%%F{green}%b%%f/%%F{yellow}%S%%f" -zstyle ':vcs_info:git*' actionformats "%%F{red}(%a)%%f %c%u%%F{green}%b%%f/\ +zstyle ':vcs_info:git*' formats "%c%u%%F{green}%r/%b%%f/%%F{yellow}%S%%f" +zstyle ':vcs_info:git*' actionformats "%%F{red}(%a)%%f %c%u%%F{green}%r/%b%%f/\ %%F{yellow}%S%%f" zstyle ':vcs_info:git*' check-for-changes true zstyle ':vcs_info:git*' stagedstr "%F{blue}+" -- 2.47.0