From 8cf939b633040b9e530ee41bff3d7c69479bd223 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 6 May 2008 09:21:51 +0100 Subject: [PATCH] automatically quote urls on the zle --- .zsh/zshrc/80_zle | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .zsh/zshrc/80_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 -- 2.39.2