From 0e6e94c913296f074273df009708784934ea2bf4 Mon Sep 17 00:00:00 2001 From: Stefan Huber Date: Wed, 7 Nov 2012 11:13:55 +0100 Subject: [PATCH] zshrc: update --- dotfiles/zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 7da781d..336bd92 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -90,8 +90,8 @@ function setprompt() { PR_BOLD="%{$terminfo[bold]%}" PR_NO_COLOUR="%{$terminfo[sgr0]%}" - zstyle ':vcs_info:*' actionformats "${PR_YELLOW}[%b|%a]${PR_NO_COLOUR} " - zstyle ':vcs_info:*' formats "${PR_YELLOW}[%b]${PR_NO_COLOUR} " + zstyle ':vcs_info:*' actionformats "${PR_YELLOW}%s:%b|%a${PR_NO_COLOUR} " + zstyle ':vcs_info:*' formats "${PR_YELLOW}%s:%b${PR_NO_COLOUR} " setopt PROMPT_SUBST PROMPT='%(!.$PR_RED.$PR_GREEN)%n@%m $PR_BLUE%1~ %# $PR_NO_COLOUR' -- 2.39.5