projects
/
grml-etc-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
89249c7
)
small fix in url-quote-magic of /etc/zsh/zshrc
author
Michael Prokop
<mika@grml.org>
Sun, 19 Nov 2006 13:59:51 +0000
(14:59 +0100)
committer
Michael Prokop
<mika@grml.org>
Sun, 19 Nov 2006 13:59:51 +0000
(14:59 +0100)
etc/zsh/zshrc
patch
|
blob
|
history
diff --git
a/etc/zsh/zshrc
b/etc/zsh/zshrc
index
821ed27
..
736c54b
100644
(file)
--- 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" ] && \
# 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 :('
zle -N self-insert url-quote-magic
else
print 'Notice: no url-quote-magic available :('