Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] Disable ‘local’ keyword in script to make data retrieval work
---
Util/check-tmux-state | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Util/check-tmux-state b/Util/check-tmux-state
index 7e29338..4cba360 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 () { }
--
2.1.4
Messages sorted by:
Reverse Date,
Date,
Thread,
Author