From 245b187664644feff36a2db7086fb2298243506e Mon Sep 17 00:00:00 2001 From: sudacode Date: Mon, 26 May 2025 03:30:40 -0700 Subject: [PATCH] update zshrc --- .zsh/.zshrc##default | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.zsh/.zshrc##default b/.zsh/.zshrc##default index af48827..eb3d72a 100644 --- a/.zsh/.zshrc##default +++ b/.zsh/.zshrc##default @@ -63,4 +63,13 @@ zstyle :compinstall filename /home/sudacode/.zsh/.zshrc autoload -Uz compinit compinit -# End of lines added by compinstall + +# load both the URL‐quoting and paste‐magic widgets +autoload -Uz url-quote-magic bracketed-paste-magic + +# tell url-quote-magic which chars to escape +zstyle ':url-quote-magic:*' url-quotes '' + +# bind it to both typing and pasting +zle -N self-insert url-quote-magic +zle -N bracketed-paste bracketed-paste-magic