about summary refs log tree commit diff
path: root/Functions/VCS_Info/VCS_INFO_set
diff options
context:
space:
mode:
authorPhilip Sequeira <phsequei@gmail.com>2015-12-07 18:23:25 -0500
committerFrank Terbeck <ft@bewatermyfriend.org>2015-12-23 01:57:45 +0100
commit038b1d4b38fca3b2067bcc322096a00179f63b88 (patch)
tree81dd470790bfb5aff1c48b45ae3609fc42a89c1f /Functions/VCS_Info/VCS_INFO_set
parentaedff53d1f2436ebe59be3253ff4a22d442684d5 (diff)
downloadzsh-038b1d4b38fca3b2067bcc322096a00179f63b88.tar.gz
zsh-038b1d4b38fca3b2067bcc322096a00179f63b88.tar.xz
zsh-038b1d4b38fca3b2067bcc322096a00179f63b88.zip
37345: VCS_INFO functions break with setopt no_unset
With setopt no_unset in my config file, vcs_info fails with:
VCS_INFO_maxexports:7: vcs: parameter not set
Diffstat (limited to 'Functions/VCS_Info/VCS_INFO_set')
-rw-r--r--Functions/VCS_Info/VCS_INFO_set2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/VCS_Info/VCS_INFO_set b/Functions/VCS_Info/VCS_INFO_set
index 484c7937d..e3f62ceef 100644
--- a/Functions/VCS_Info/VCS_INFO_set
+++ b/Functions/VCS_Info/VCS_INFO_set
@@ -2,7 +2,7 @@
 ## Written by Frank Terbeck <ft@bewatermyfriend.org>
 ## Distributed under the same BSD-ish license as zsh itself.
 
-setopt localoptions noksharrays NO_shwordsplit
+setopt localoptions noksharrays NO_shwordsplit unset
 local -i i j
 
 if [[ $1 == '--nvcs' ]] ; then