about summary refs log tree commit diff
path: root/Util
diff options
context:
space:
mode:
authorFrank Terbeck <ft@bewatermyfriend.org>2015-08-10 17:50:20 +0200
committerFrank Terbeck <ft@bewatermyfriend.org>2015-08-10 17:53:44 +0200
commitc6136b94f361ec33fbb231c97ea37a2248080de3 (patch)
treee063920b70a4b933bf9b5fdfcbe644314bc70b1d /Util
parent8d849b9caf6bf9fcc0abbd049d158b88c391e9ac (diff)
downloadzsh-c6136b94f361ec33fbb231c97ea37a2248080de3.tar.gz
zsh-c6136b94f361ec33fbb231c97ea37a2248080de3.tar.xz
zsh-c6136b94f361ec33fbb231c97ea37a2248080de3.zip
36075: Disable ‘local’ keyword in script to make data retrieval work
Diffstat (limited to 'Util')
-rw-r--r--Util/check-tmux-state4
1 files changed, 4 insertions, 0 deletions
diff --git a/Util/check-tmux-state b/Util/check-tmux-state
index 7e293380f..4cba36070 100644
--- a/Util/check-tmux-state
+++ b/Util/check-tmux-state
@@ -40,6 +40,10 @@ differences=none
 # information. For that, we need to put a few stubs into place so sourcing the
 # file doesn't blow up in our face.
 
+# We need to disable the new "local" keyword to make our data retrieval trick
+# work:
+disable -r local
+
 function _arguments () { }
 function _describe () { }
 function local () { }