From: Michael Prokop Date: Sun, 15 Apr 2007 20:38:52 +0000 (+0200) Subject: /etc/zsh/zshrc: deactivate url-quote-magic by default and provide it as alias url... X-Git-Tag: 0.2.47~2 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;h=465d477a84336597424c38989c7c9ab0c798d9db;p=grml-etc-core.git /etc/zsh/zshrc: deactivate url-quote-magic by default and provide it as alias url-quote instead. --- diff --git a/debian/changelog b/debian/changelog index b4fe5ed..44fc9d6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +grml-etc-core (0.2.46) unstable; urgency=low + + * /etc/zsh/zshrc: deactivate url-quote-magic by default and + provide it as alias url-quote instead. + + -- Michael Prokop Sun, 15 Apr 2007 22:36:28 +0200 + grml-etc-core (0.2.45) unstable; urgency=low * /etc/zsh/zshrc: fix syntax error in get_twi_cl. diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 042ad28..1be98f4 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3,7 +3,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Sam Apr 14 11:01:58 CEST 2007 [mika] +# Latest change: Son Apr 15 22:36:24 CEST 2007 [mika] ################################################################################ # This file is sourced only for interactive shells. It # should contain commands to set up aliases, functions, @@ -255,11 +255,12 @@ fi autoload history-search-end # we don't want to quote/espace URLs on our own... - if autoload -U url-quote-magic ; then - zle -N self-insert url-quote-magic - else - print 'Notice: no url-quote-magic available :(' - fi + # if autoload -U url-quote-magic ; then + # zle -N self-insert url-quote-magic + # else + # print 'Notice: no url-quote-magic available :(' + # fi + alias url-quote='autoload -U url-quote-magic ; zle -N self-insert url-quote-magic' alias run-help >&/dev/null && unalias run-help autoload run-help # use via 'esc-h'