From eb4c70d0b7856a8ddfeb4ea2d3d83991f5cb82d3 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Fri, 28 Mar 2014 11:00:35 +0000 Subject: 32528: vcs_info: Add check-for-staged-changes --- Misc/vcs_info-examples | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Misc') diff --git a/Misc/vcs_info-examples b/Misc/vcs_info-examples index b07bfc67c..5d8ff187e 100644 --- a/Misc/vcs_info-examples +++ b/Misc/vcs_info-examples @@ -266,6 +266,10 @@ autoload -Uz vcs_info zstyle ':vcs_info:*' check-for-changes true zstyle ':vcs_info:*' get-revision true +# Alternatively, the following would set only %c, but is faster: +#zstyle ':vcs_info:*' check-for-changes false +#zstyle ':vcs_info:*' check-for-staged-changes true + # Default to running vcs_info. If possible we prevent running it later for # speed reasons. If set to a non empty value vcs_info is run. -- cgit 1.4.1