small fix in url-quote-magic of /etc/zsh/zshrc
authorMichael Prokop <mika@grml.org>
Sun, 19 Nov 2006 13:59:51 +0000 (14:59 +0100)
committerMichael Prokop <mika@grml.org>
Sun, 19 Nov 2006 13:59:51 +0000 (14:59 +0100)
etc/zsh/zshrc

index 821ed27..736c54b 100644 (file)
@@ -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 :('