From 2da1610330482946adb0df10e944d7c9d04a10ad Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Sat, 17 Jun 2006 17:21:15 +0000 Subject: 22492: url-quote-magic should detect syntactic word breaks correctly --- Functions/Zle/url-quote-magic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions') diff --git a/Functions/Zle/url-quote-magic b/Functions/Zle/url-quote-magic index 790de43cd..826d26d09 100644 --- a/Functions/Zle/url-quote-magic +++ b/Functions/Zle/url-quote-magic @@ -114,7 +114,7 @@ function url-quote-magic { if [[ "${(Q)LBUFFER}$KEYS" == "${(Q)lbuf}" ]] then local -a words - words=("${(@Q)${(q)=LBUFFER}}") + words=("${(@Q)${(z)lbuf}}") local urlseps urlmetas urlglobbers localschema otherschema if [[ "$words[-1]" == (#b)([^:]##):* ]] then -- cgit 1.4.1