From ffc9a039044e9e3e8a3a9eaa43623c77d0c0181a Mon Sep 17 00:00:00 2001 From: Joe Moon Date: Wed, 8 Mar 2017 21:10:55 -0800 Subject: [PATCH] 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. --- modules/environment/init.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/environment/init.zsh b/modules/environment/init.zsh index 0e8fd9d..6d2e9f5 100644 --- a/modules/environment/init.zsh +++ b/modules/environment/init.zsh @@ -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.