From: Mark Wooding Date: Sat, 18 Mar 2023 16:56:57 +0000 (+0000) Subject: dot/inputrc: Don't enable bracketed-paste when `$TERM' is `dumb'. X-Git-Url: https://git.distorted.org.uk/~mdw/profile/commitdiff_plain/39c3239b1c897b09013507bf3cedfa1e71c059cf?hp=40251d884fb60d29c49f2ffceb08dfc2f229610b dot/inputrc: Don't enable bracketed-paste when `$TERM' is `dumb'. It confuses Emacs, which is the main (only?) thing that sets the terminal to `dumb' in the first place. --- diff --git a/dot/inputrc b/dot/inputrc index 340f88e..716d57c 100644 --- a/dot/inputrc +++ b/dot/inputrc @@ -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