diff options
author | Frank Terbeck <bewater@users.sourceforge.net> | 2011-06-30 07:43:53 +0000 |
---|---|---|
committer | Frank Terbeck <bewater@users.sourceforge.net> | 2011-06-30 07:43:53 +0000 |
commit | f028b97e8f0c7906af4a76909436e9a7f5a06d8a (patch) | |
tree | ad84902f953b2296d583fe005c6955284391588c /Functions/VCS_Info/vcs_info | |
parent | 38868daa446d331a5e2d9cb1d79b1e7904e60399 (diff) | |
download | zsh-f028b97e8f0c7906af4a76909436e9a7f5a06d8a.tar.gz zsh-f028b97e8f0c7906af4a76909436e9a7f5a06d8a.tar.xz zsh-f028b97e8f0c7906af4a76909436e9a7f5a06d8a.zip |
29526: vcs_info: Set `max-exports' early after certain `start-up' hooks.
Diffstat (limited to 'Functions/VCS_Info/vcs_info')
-rw-r--r-- | Functions/VCS_Info/vcs_info | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Functions/VCS_Info/vcs_info b/Functions/VCS_Info/vcs_info index 513489b70..5a421dfed 100644 --- a/Functions/VCS_Info/vcs_info +++ b/Functions/VCS_Info/vcs_info @@ -70,6 +70,9 @@ vcs_info () { if (( retval == 1 )); then return 0 elif (( retval == 2 )); then + # This needs `max-exports' set. We're still setting it again later + # for more specific contexts. + VCS_INFO_maxexports VCS_INFO_set --nvcs return 0 fi |