From: Michael Prokop Date: Sun, 19 Nov 2006 13:59:51 +0000 (+0100) Subject: small fix in url-quote-magic of /etc/zsh/zshrc X-Git-Tag: 0.1-33~2 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;h=18b360b87ad28e8ed377dab3bf7e992ffbf73ed5;p=grml-etc-core.git small fix in url-quote-magic of /etc/zsh/zshrc --- diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 821ed27..736c54b 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -131,7 +131,7 @@ fi # 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 :('