[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:
parent
53a3cd7933
commit
43096df5cb
1 changed files with 2 additions and 2 deletions
|
@ -13,9 +13,9 @@ if [[ ${ZSH_VERSION} != 5.1.1 ]]; then
|
||||||
autoload -Uz bracketed-paste-magic
|
autoload -Uz bracketed-paste-magic
|
||||||
zle -N bracketed-paste 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
|
||||||
|
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.
|
# Treat single word simple commands without redirection as candidates for resumption of an existing job.
|
||||||
|
|
Loading…
Reference in a new issue