diff options
author | Frank Terbeck <ft@bewatermyfriend.org> | 2014-10-09 18:09:36 +0200 |
---|---|---|
committer | Frank Terbeck <ft@bewatermyfriend.org> | 2014-10-09 18:36:13 +0200 |
commit | a03227de23f623370ab6a6eaf8d22e8d9b1a3aae (patch) | |
tree | a33e465eca31b42561eee433429fa4050ae45a77 /Functions/VCS_Info/vcs_info | |
parent | 0f73b35f4e0d8adad216ee6650bfef4622df43b1 (diff) | |
download | zsh-a03227de23f623370ab6a6eaf8d22e8d9b1a3aae.tar.gz zsh-a03227de23f623370ab6a6eaf8d22e8d9b1a3aae.tar.xz zsh-a03227de23f623370ab6a6eaf8d22e8d9b1a3aae.zip |
33405: vcs_info: Make sure maxexports is set when VCS_INFO_set is called
Reported-by: From: Marco Hinz <mh.codebro@gmail.com>
Diffstat (limited to 'Functions/VCS_Info/vcs_info')
-rw-r--r-- | Functions/VCS_Info/vcs_info | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Functions/VCS_Info/vcs_info b/Functions/VCS_Info/vcs_info index 5a421dfed..46938691d 100644 --- a/Functions/VCS_Info/vcs_info +++ b/Functions/VCS_Info/vcs_info @@ -94,6 +94,7 @@ vcs_info () { for pat in ${dps} ; do if [[ ${PWD} == ${~pat} ]] ; then + VCS_INFO_maxexports [[ -n ${vcs_info_msg_0_} ]] && VCS_INFO_set --nvcs return 0 fi |