chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
40251d8
)
dot/inputrc: Don't enable bracketed-paste when `$TERM' is `dumb'.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 18 Mar 2023 16:56:57 +0000
(16:56 +0000)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/dot/inputrc
b/dot/inputrc
index 340f88e22e91ad79a8512529b9c03b61046f7f28..716d57c512fc3a9eb0c44fa73015aa5e266e819f 100644
(file)
--- 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
set blink-matching-paren on
set colored-completion-prefix off
set colored-stats on
+$if term=dumb
+$else
set enable-bracketed-paste on
set enable-bracketed-paste on
+$endif
set show-all-if-ambiguous
## Missing bindings
set show-all-if-ambiguous
## Missing bindings