diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2014-03-28 11:00:35 +0000 |
---|---|---|
committer | Frank Terbeck <ft@bewatermyfriend.org> | 2014-04-05 10:56:52 +0200 |
commit | eb4c70d0b7856a8ddfeb4ea2d3d83991f5cb82d3 (patch) | |
tree | 67083cf89a40cb81bcd18a32f59bc6c425bb34e6 /Misc | |
parent | 4dfe62640a786f60e72af64021910c6ac11167cc (diff) | |
download | zsh-eb4c70d0b7856a8ddfeb4ea2d3d83991f5cb82d3.tar.gz zsh-eb4c70d0b7856a8ddfeb4ea2d3d83991f5cb82d3.tar.xz zsh-eb4c70d0b7856a8ddfeb4ea2d3d83991f5cb82d3.zip |
32528: vcs_info: Add check-for-staged-changes
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/vcs_info-examples | 4 |
1 files changed, 4 insertions, 0 deletions
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. |