From: Sebastian Boehm Date: Sun, 13 Jan 2019 19:53:20 +0000 (+0100) Subject: Disable bracketed paste mode for dumb terminals X-Git-Tag: v0.16.0~3^2 X-Git-Url: https://git.grml.org/?a=commitdiff_plain;ds=sidebyside;h=1d7346704e49fa779ffccfc2eda2dc12e1937a6f;p=grml-etc-core.git Disable bracketed paste mode for dumb terminals --- 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