From 1d7346704e49fa779ffccfc2eda2dc12e1937a6f Mon Sep 17 00:00:00 2001 From: Sebastian Boehm Date: Sun, 13 Jan 2019 20:53:20 +0100 Subject: [PATCH] Disable bracketed paste mode for dumb terminals --- etc/zsh/zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 8a66912..21db9e7 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3733,6 +3733,9 @@ if check_com -c hg ; then fi # end of check whether we have the 'hg'-executable +# disable bracketed paste mode for dumb terminals +[[ "$TERM" == dumb ]] && unset zle_bracketed_paste + # grml-small cleanups and workarounds # The following is used to remove zsh-config-items that do not work -- 2.1.4