mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
37386: localise mbegin, mend, match in URL magic
This commit is contained in:
parent
3272bdce98
commit
1f75d7ff2c
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-12-11 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* Functions/Zle/url-quote-magic: match, mbegin, mend should be
|
||||
locally.
|
||||
|
||||
2015-12-11 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 37383: Matthew Martin: Completion/Unix/Command/_elfdump,
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue