Bash 5.1 - bracketed-paste now on by default

With the latest bash update to 5.1 bracketed-paste is now on by default, which means pasting into a bash terminal shell will highlight the pasted text, with no way to unhighlight it.

I find this highly annoying … I know, first world problems.

To turn this off add the following to your .bashrc.

bind 'set enable-bracketed-paste off'

Or if you prefer this behavior, do nothing … :slight_smile:


Who in the hell finds this as sane / useful default, i wonder?

I’m still irritated by this but nonetheless still undecided as to generally disabling this behaviour.
For the moment I’ve found a workaround: the highlighting of pasted content vanishes if the cursor is moved (either by arrow keys or by typing something),

1 Like