1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00

33405: vcs_info: Make sure maxexports is set when VCS_INFO_set is called

Reported-by: From: Marco Hinz <mh.codebro@gmail.com>
This commit is contained in:
Frank Terbeck 2014-10-09 18:09:36 +02:00
parent 0f73b35f4e
commit a03227de23
2 changed files with 6 additions and 0 deletions

View file

@ -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