1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 05:40:08 +00:00

Only load url-quote-magic if it is available.

Partially fixes #3614
This commit is contained in:
Dan Mills 2015-06-10 15:49:47 -07:00
parent 4224c2a1af
commit 2fb326513a

View file

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