summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Util/check-tmux-state4
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f6e90310f..f4eac9192 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -58,6 +58,9 @@
* 36069: Completion/Unix/Command/_tmux: _tmux: Fix \ooo display in
completion list
+ * 36075: Util/check-tmux-state: Disable ‘local’ keyword in
+ script to make data retrieval work
+
2015-08-10 Peter Stephenson <p.stephenson@samsung.com>
* 36045: Test/A05execution.ztst: make effect of failures
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 () { }