1
0
Fork 0
mirror of synced 2024-11-03 00:18:57 -04:00

fix url quote magic

`url-quote-magic` automatically escapes characters that fit a URI scheme
as you type. From what I can tell from the commit history, this was
mistakenly placed in `else` branch of the nested conditional instead of
at the end of the outermost conditional.
This commit is contained in:
Joe Moon 2017-03-08 21:10:55 -08:00
parent 53a3cd7933
commit ffc9a03904

View file

@ -13,9 +13,9 @@ if [[ ${ZSH_VERSION} != 5.1.1 ]]; then
autoload -Uz bracketed-paste-magic
zle -N bracketed-paste bracketed-paste-magic
fi
autoload -Uz url-quote-magic
zle -N self-insert url-quote-magic
fi
autoload -Uz url-quote-magic
zle -N self-insert url-quote-magic
fi
# Treat single word simple commands without redirection as candidates for resumption of an existing job.