From 5883889646543e2ae631db143034fa0f1cec6cba Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Fri, 30 Mar 2012 10:01:41 -0400 Subject: [PATCH] Describe all default git-info styles --- plugins/git/style.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/git/style.zsh b/plugins/git/style.zsh index d1196ef..9a61e53 100644 --- a/plugins/git/style.zsh +++ b/plugins/git/style.zsh @@ -18,7 +18,7 @@ zstyle ':omz:plugin:git:prompt' ahead 'ahead:%A' zstyle ':omz:plugin:git:prompt' behind 'behind:%B' # %b - Branch name. -zstyle ':omz:plugin:git:prompt' branch '%b' +zstyle ':omz:plugin:git:prompt' branch 'branch:%b' # %c - SHA-1 hash. zstyle ':omz:plugin:git:prompt' commit 'commit:%c' @@ -33,10 +33,10 @@ zstyle ':omz:plugin:git:prompt' dirty 'dirty:%D' zstyle ':omz:plugin:git:prompt' modified 'modified:%m' # %p - HEAD position in relation to the nearest branch, remote, tag. -zstyle ':omz:plugin:git:prompt' position '%p' +zstyle ':omz:plugin:git:prompt' position 'position:%p' # %R - Remote name. -zstyle ':omz:plugin:git:prompt' remote '%R' +zstyle ':omz:plugin:git:prompt' remote 'remote:%R' # %r - Indicator to notify of renamed files. zstyle ':omz:plugin:git:prompt' renamed 'renamed:%r'