From: martin f. krafft Date: Tue, 6 May 2008 08:21:51 +0000 (+0100) Subject: automatically quote urls on the zle X-Git-Url: https://git.madduck.net/etc/zsh.git/commitdiff_plain/8cf939b633040b9e530ee41bff3d7c69479bd223 automatically quote urls on the zle --- diff --git a/.zsh/zshrc/80_zle b/.zsh/zshrc/80_zle new file mode 100644 index 0000000..74ade04 --- /dev/null +++ b/.zsh/zshrc/80_zle @@ -0,0 +1,17 @@ +# zshrc/80_zle +# +# Configure the zsh line editor +# +# Copyright © 1994–2008 martin f. krafft +# Released under the terms of the Artistic Licence 2.0 +# +# Source repository: http://git.madduck.net/v/etc/zsh.git +# + +# automatically escape URLs +# /usr/share/zsh*/functions/Zle/url-quote-magic +autoload -U url-quote-magic +zle -N self-insert url-quote-magic +setopt no_nomatch + +# vim:ft=zsh