b5a5bc9ae58bdd8191c20dd1f72d423a000149fc
- Author
- Robby Russell <robby@planetargon.com>
- Committer
- Robby Russell <robby@planetargon.com>
- Date
Message
Merge pull request #4337 from iCross/master
fix url-quote-magic not working issue
Diff
1diff --git a/lib/misc.zsh b/lib/misc.zsh
2index 6d1a64e8dbc540fcbe3a84df20082d2416a4e1de..bdb884046af81a7d108593aeec55985733a82c8d 100644
3--- a/lib/misc.zsh
4+++ b/lib/misc.zsh
5@@ -1,6 +1,10 @@
6 ## Load smart urls if available
7 for d in $fpath; do
8 if [[ -e "$d/url-quote-magic" ]]; then
9+ if [[ -e "$d/bracketed-paste-magic" ]]; then
10+ autoload -Uz bracketed-paste-magic
11+ zle -N bracketed-paste bracketed-paste-magic
12+ fi
13 autoload -U url-quote-magic
14 zle -N self-insert url-quote-magic
15 fi