Disable bracketed paste mode for dumb terminals
authorSebastian Boehm <sebastian@sometimesfood.org>
Sun, 13 Jan 2019 19:53:20 +0000 (20:53 +0100)
committerSebastian Boehm <sebastian@sometimesfood.org>
Mon, 14 Jan 2019 19:23:30 +0000 (20:23 +0100)
etc/zsh/zshrc

index 8a66912..21db9e7 100644 (file)
@@ -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