1
0
Fork 0
mirror of synced 2024-11-30 03:05:35 -05:00

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