# we don't want to quote/espace URLs on our own...
# avoid 'url-quote-magic: function definition file not found' on some older boxes
if [ -f "/usr/share/zsh/$ZSH_VERSION/functions/Zle/url-quote-magic" ] && \
- autoload -U url-quote-magic && url-quote-magic 2>/dev/null && zle -N self-insert url-quote-magic ; then
+ autoload -U url-quote-magic && zle -N self-insert url-quote-magic ; then
zle -N self-insert url-quote-magic
else
print 'Notice: no url-quote-magic available :('