[environment] 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.

Closes #160
This commit is contained in:
Joe Moon 2017-03-08 21:10:55 -08:00 committed by Eric Nielsen
parent 53a3cd7933
commit 43096df5cb

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.