summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2015-09-26 09:35:12 -0700
committerRobby Russell <robby@planetargon.com>2015-09-26 09:35:12 -0700
commitb5a5bc9ae58bdd8191c20dd1f72d423a000149fc (patch)
tree142410b3b3244977017d70b2ee104bf4ee62eb60
parentf186b627044444d55e1dd30244fecf3bcf09ccae (diff)
parent19c0b185ad9b37b448a979fb6cc995cc648e76a4 (diff)
downloadzsh-b5a5bc9ae58bdd8191c20dd1f72d423a000149fc.tar.gz
zsh-b5a5bc9ae58bdd8191c20dd1f72d423a000149fc.tar.bz2
zsh-b5a5bc9ae58bdd8191c20dd1f72d423a000149fc.zip
Merge pull request #4337 from iCross/master
fix url-quote-magic not working issue
-rw-r--r--lib/misc.zsh4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/misc.zsh b/lib/misc.zsh
index 6d1a64e8d..bdb884046 100644
--- a/lib/misc.zsh
+++ b/lib/misc.zsh
@@ -1,6 +1,10 @@
## Load smart urls if available
for d in $fpath; do
if [[ -e "$d/url-quote-magic" ]]; then
+ if [[ -e "$d/bracketed-paste-magic" ]]; then
+ autoload -Uz bracketed-paste-magic
+ zle -N bracketed-paste bracketed-paste-magic
+ fi
autoload -U url-quote-magic
zle -N self-insert url-quote-magic
fi