1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-22 20:31:57 +00:00

Merge pull request #4337 from iCross/master

fix url-quote-magic not working issue
This commit is contained in:
Robby Russell 2015-09-26 09:35:12 -07:00
commit b5a5bc9ae5

View file

@ -1,6 +1,10 @@
## Load smart urls if available
for d in $fpath; do
if [[ -e "$d/url-quote-magic" ]]; then
if [[ -e "$d/bracketed-paste-magic" ]]; then
autoload -Uz bracketed-paste-magic
zle -N bracketed-paste bracketed-paste-magic
fi
autoload -U url-quote-magic
zle -N self-insert url-quote-magic
fi