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 /Util | |
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
Diffstat (limited to 'Util')
-rw-r--r-- | Util/check-tmux-state | 4 |
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 () { } |