dot/inputrc: Don't enable bracketed-paste when `$TERM' is `dumb'.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 18 Mar 2023 16:56:57 +0000 (16:56 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 18 Mar 2023 16:58:08 +0000 (16:58 +0000)
It confuses Emacs, which is the main (only?) thing that sets the
terminal to `dumb' in the first place.

dot/inputrc

index 340f88e..716d57c 100644 (file)
@@ -11,7 +11,10 @@ set bind-tty-special-chars off
 set blink-matching-paren on
 set colored-completion-prefix off
 set colored-stats on
+$if term=dumb
+$else
 set enable-bracketed-paste on
+$endif
 set show-all-if-ambiguous
 
 ## Missing bindings