From 439328ea0425f38d0ab9d12c90575672df496354 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 21 Jun 2020 13:42:21 +1200 Subject: Enable bracketed paste mode for Bash --- readline/inputrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/readline/inputrc b/readline/inputrc index 3ac134cd..0da55708 100644 --- a/readline/inputrc +++ b/readline/inputrc @@ -27,6 +27,9 @@ set menu-complete-display-prefix on # Don't display control characters like ^C if I input them set echo-control-characters off +# Detect terminal pastes and don't treat the characters like keyboard input +set enable-bracketed-paste on + # Expand tilde to full path on completion set expand-tilde on -- cgit v1.2.3