about summary refs log tree commit diff
path: root/Functions/VCS_Info/vcs_info
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-02-21 18:41:41 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-02-21 18:41:41 +0000
commit8a0629c12b0d7318946212975fab9ec1b4850ff9 (patch)
tree53f08ecf0a3738f916bcd0f5043ac3bc9369ee67 /Functions/VCS_Info/vcs_info
parent5fbcf005b0a35e0c6a5e8817bc41a7bb981cbca0 (diff)
downloadzsh-8a0629c12b0d7318946212975fab9ec1b4850ff9.tar.gz
zsh-8a0629c12b0d7318946212975fab9ec1b4850ff9.tar.xz
zsh-8a0629c12b0d7318946212975fab9ec1b4850ff9.zip
27731: Frank: turn off WARN_CREATE_GLOBAL in VCS_INFO
Diffstat (limited to 'Functions/VCS_Info/vcs_info')
-rw-r--r--Functions/VCS_Info/vcs_info2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/VCS_Info/vcs_info b/Functions/VCS_Info/vcs_info
index 906d984ef..a9e65e119 100644
--- a/Functions/VCS_Info/vcs_info
+++ b/Functions/VCS_Info/vcs_info
@@ -40,7 +40,7 @@ vcs_info_setsys
 # and now, finally create the real vcs_info function
 vcs_info () {
     emulate -L zsh
-    setopt extendedglob
+    setopt extendedglob NO_warn_create_global
 
     [[ -r . ]] || return 0