about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2006-06-17 17:21:15 +0000
committerBart Schaefer <barts@users.sourceforge.net>2006-06-17 17:21:15 +0000
commit2da1610330482946adb0df10e944d7c9d04a10ad (patch)
tree908ada68d64c1d27f34cfed2770243374bf4d40e /Functions
parent70a28c494e9b1bfb9fb2e97de7c9f25d6cfef2d2 (diff)
downloadzsh-2da1610330482946adb0df10e944d7c9d04a10ad.tar.gz
zsh-2da1610330482946adb0df10e944d7c9d04a10ad.tar.xz
zsh-2da1610330482946adb0df10e944d7c9d04a10ad.zip
22492: url-quote-magic should detect syntactic word breaks correctly
Diffstat (limited to 'Functions')
-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 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