summary refs log tree commit diff
path: root/Util/check-tmux-state
diff options
context:
space:
mode:
Diffstat (limited to 'Util/check-tmux-state')
-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 () { }