From: Stefan Huber Date: Wed, 7 Nov 2012 10:13:55 +0000 (+0100) Subject: zshrc: update X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=0e6e94c913296f074273df009708784934ea2bf4;p=shutils.git zshrc: update --- 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'