From 0dcc320239ffd012c5a27add4fe0707939a73aaa Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Fri, 22 Nov 2024 18:20:57 +0100 Subject: [PATCH] Fix zsh copy/paste bug --- modules/cli/zsh/init.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/cli/zsh/init.zsh b/modules/cli/zsh/init.zsh index f7c95ef..c8d781a 100644 --- a/modules/cli/zsh/init.zsh +++ b/modules/cli/zsh/init.zsh @@ -10,6 +10,8 @@ pastefinish() { } zstyle :bracketed-paste-magic paste-init pasteinit zstyle :bracketed-paste-magic paste-finish pastefinish +# https://github.com/zsh-users/zsh-autosuggestions/issues/351 +ZSH_AUTOSUGGEST_CLEAR_WIDGETS+=(bracketed-paste) # Make sure the terminal is in application mode, when zle is # active. Only then are the values from $terminfo valid.