Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug in url-quote-magic?
- X-seq: zsh-workers 22492
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Bug in url-quote-magic?
- Date: Tue, 13 Jun 2006 21:20:18 -0700
- In-reply-to: <060613070829.ZM12175@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20060612161052.GG27340@xxxxxxxxxxxxxxxx> <060613070829.ZM12175@xxxxxxxxxxxxxxxxxxxxxx>
On Jun 13, 7:08am, Bart Schaefer wrote:
} Subject: Re: Bug in url-quote-magic?
}
} On Jun 12, 6:10pm, Ulrich Dangel wrote:
} }
} } while using url-quote-magic i discoverd a strange behaviour.
} } If i enter an url, followed by space, and after that a semicolon, the
} } semicolon is escaped.
}
} I can see where this might be unexpected, but I'm not sure your fix is
} the right one. I think it might be preferable to change line 117
This seems to do the trick; let me know.
Index: Functions/Zle/url-quote-magic
===================================================================
--- Functions/Zle/url-quote-magic 14 Feb 2004 19:39:27 -0000
+++ Functions/Zle/url-quote-magic 14 Jun 2006 04:18:31 -0000
@@ -114,7 +114,7 @@
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author