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>2008-09-22 16:56:32 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-09-22 16:56:32 +0000
commit708999149bfcff2cef42c17d8d1c1ba0c6e38d32 (patch)
tree57e2d68ebcb2d91ee97d3fcc816885ec4a39c3a0 /Functions/VCS_Info/vcs_info
parent8dbf2a5bfa2de36f3ed0f18212d17d2a41595ff2 (diff)
downloadzsh-708999149bfcff2cef42c17d8d1c1ba0c6e38d32.tar.gz
zsh-708999149bfcff2cef42c17d8d1c1ba0c6e38d32.tar.xz
zsh-708999149bfcff2cef42c17d8d1c1ba0c6e38d32.zip
25710: various minor consistency tweaks for VCS_Info
Diffstat (limited to 'Functions/VCS_Info/vcs_info')
-rw-r--r--Functions/VCS_Info/vcs_info4
1 files changed, 3 insertions, 1 deletions
diff --git a/Functions/VCS_Info/vcs_info b/Functions/VCS_Info/vcs_info
index 4a6c518f9..fb87e6a54 100644
--- a/Functions/VCS_Info/vcs_info
+++ b/Functions/VCS_Info/vcs_info
@@ -37,7 +37,9 @@ vcs_info_setsys
 
 # and now, finally create the real vcs_info function
 vcs_info () {
-    setopt localoptions noksharrays extendedglob
+    emulate -L zsh
+    setopt extendedglob
+
     local -i found
     local -a enabled disabled
     local -x usercontext vcs rrn