diff options
author | Frank Terbeck <ft@bewatermyfriend.org> | 2015-08-10 17:50:20 +0200 |
---|---|---|
committer | Frank Terbeck <ft@bewatermyfriend.org> | 2015-08-10 17:53:44 +0200 |
commit | c6136b94f361ec33fbb231c97ea37a2248080de3 (patch) | |
tree | e063920b70a4b933bf9b5fdfcbe644314bc70b1d | |
parent | 8d849b9caf6bf9fcc0abbd049d158b88c391e9ac (diff) | |
download | zsh-c6136b94f361ec33fbb231c97ea37a2248080de3.tar.gz zsh-c6136b94f361ec33fbb231c97ea37a2248080de3.tar.xz zsh-c6136b94f361ec33fbb231c97ea37a2248080de3.zip |
36075: Disable ‘local’ keyword in script to make data retrieval work
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Util/check-tmux-state | 4 |
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 () { } |