about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2017-08-31 16:55:26 +0100
committerPeter Stephenson <pws@zsh.org>2017-08-31 16:55:26 +0100
commitb2e44bce625fce957d1651b696f571521c58a7af (patch)
tree128f3dd07c1f5213dd1698172e7a751e3e948457 /Functions
parentebcea98eca33b8894d29545f1a46331d03f3913a (diff)
downloadzsh-b2e44bce625fce957d1651b696f571521c58a7af.tar.gz
zsh-b2e44bce625fce957d1651b696f571521c58a7af.tar.xz
zsh-b2e44bce625fce957d1651b696f571521c58a7af.zip
Make mbegin, mend, match local in zed.
Needed for zstyle -m.
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Misc/zed3
1 files changed, 3 insertions, 0 deletions
diff --git a/Functions/Misc/zed b/Functions/Misc/zed
index 33bd1025b..f571daf5e 100644
--- a/Functions/Misc/zed
+++ b/Functions/Misc/zed
@@ -36,6 +36,9 @@ fi
 
 local curcontext=zed:::
 
+# Matching used in zstyle -m: hide result from caller.
+# Variables not used directly here.
+local -a match mbegin mend
 zstyle -m ":completion:zed:*" insert-tab '*' ||
     zstyle ":completion:zed:*" insert-tab yes