Skip to content

Instantly share code, notes, and snippets.

@caruccio
Created November 21, 2023 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save caruccio/99fb85e170bc42a870a40b52b582be3a to your computer and use it in GitHub Desktop.
Save caruccio/99fb85e170bc42a870a40b52b582be3a to your computer and use it in GitHub Desktop.
Disable bash multiline paste protection
# From bash(1) man page
# enable-bracketed-paste (On)
# When set to On, readline configures the terminal to insert each paste into the editing buffer as a single string of characters, instead of treating each character as if it had been read from
# the keyboard. This prevents readline from executing any editing commands bound to key sequences appearing in the pasted text.
#
set enable-bracketed-paste off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment