]> git.sthu.org Git - shutils.git/commitdiff
zshrc: update
authorStefan Huber <s.huber@bct-electronic.com>
Wed, 7 Nov 2012 10:13:55 +0000 (11:13 +0100)
committerStefan Huber <s.huber@bct-electronic.com>
Wed, 7 Nov 2012 10:13:55 +0000 (11:13 +0100)
dotfiles/zshrc

index 7da781d3e6e56c15d0e1f5ba2e95dd8c0f90fe55..336bd92ff6125c5fde856c6d26415c313fd19f50 100644 (file)
@@ -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'