summary refs log tree commit diff
path: root/Functions/Zle/url-quote-magic
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-12-11 14:05:29 +0000
committerPeter Stephenson <pws@zsh.org>2015-12-11 14:05:29 +0000
commit1f75d7ff2cf0dbc0b8718811ee9a1f0e5eaeac1f (patch)
tree993ad576439f2aafbcd1f91259381722222078d7 /Functions/Zle/url-quote-magic
parent3272bdce987a3e5d5448688529ccb8290e148a67 (diff)
downloadzsh-1f75d7ff2cf0dbc0b8718811ee9a1f0e5eaeac1f.tar.gz
zsh-1f75d7ff2cf0dbc0b8718811ee9a1f0e5eaeac1f.tar.xz
zsh-1f75d7ff2cf0dbc0b8718811ee9a1f0e5eaeac1f.zip
37386: localise mbegin, mend, match in URL magic
Diffstat (limited to 'Functions/Zle/url-quote-magic')
-rw-r--r--Functions/Zle/url-quote-magic2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Zle/url-quote-magic b/Functions/Zle/url-quote-magic
index 0e49573db..7ee281ea4 100644
--- a/Functions/Zle/url-quote-magic
+++ b/Functions/Zle/url-quote-magic
@@ -115,7 +115,7 @@ alias globurl='noglob urlglobber '
 function url-quote-magic {
     setopt localoptions noksharrays extendedglob
     local qkey="${(q)KEYS}"
-    local -a reply
+    local -a reply match mbegin mend
     if [[ "$KEYS" != "$qkey" ]]
     then
 	local lbuf="$LBUFFER$qkey"