Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: Use the correct typeset call to create $VCS_INFO_backends



---

Without this, warncreateglobal will complain.

 Functions/VCS_Info/vcs_info_setsys |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Functions/VCS_Info/vcs_info_setsys b/Functions/VCS_Info/vcs_info_setsys
index 42be13c..1484464 100644
--- a/Functions/VCS_Info/vcs_info_setsys
+++ b/Functions/VCS_Info/vcs_info_setsys
@@ -6,7 +6,7 @@ emulate -L zsh
 setopt extendedglob typeset_silent
 
 local sys
-typeset -g VCS_INFO_backends
+typeset -ga VCS_INFO_backends
 
 VCS_INFO_backends=()
 
-- 
1.6.2.1.136.g8e24



Messages sorted by: Reverse Date, Date, Thread, Author