commit e26b963aaa06c14d617aac49f5ecd4febbb31725
parent b8d3fac0ae234c61ad6fa65315294569d815dc9d
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Wed, 19 Aug 2020 11:49:32 +0200
zsh: fix bare url pasting
Former-commit-id: 5c2407b321af6ec94f51e1b4a13fdb4d1e25e2ee
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/shell/zshrc b/shell/zshrc
@@ -52,6 +52,8 @@ source $DOTFILES/shell/oh-my-zsh-defaults/keys.zsh
# Allow pasting bare URLs
autoload -Uz url-quote-magic
zle -N self-insert url-quote-magic
+autoload -Uz bracketed-paste-magic
+zle -N bracketed-paste bracketed-paste-magic
# Auto correct commands, with exceptions (from oh-my-zsh)
alias cp='nocorrect cp'