1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-25 17:20:25 +02:00

27731: Frank: turn off WARN_CREATE_GLOBAL in VCS_INFO

This commit is contained in:
Peter Stephenson 2010-02-21 18:41:41 +00:00
parent 5fbcf005b0
commit 8a0629c12b
2 changed files with 7 additions and 2 deletions

View file

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