[how to] disable highlighted pasted text in the terminal

rado84

Well-Known Member
Credits
1,411
Not long ago all terminals somehow got a new option for a pasted text to appear as if it was marked by the user to be copied. But that was very annoying for me, especially due to the fact that there was no GUI option included to disable that. But a way was found to disable it and since I'm guessing I'm not the only one annoyed by that marking, I decided to share a way to get rid of it.

For the current terminal window (a temporary solution):
Code:
bind 'set enable-bracketed-paste off'
A permanent solution:
Code:
echo "set enable-bracketed-paste off" >> ~/.inputrc
 


jbrock

New Member
Credits
6
I just upgraded to Debian Bullseye, and I was very glad to find this post. Thank you!
I put bind 'set enable-bracketed-paste off' in my ~/.bashrc and that did the trick as well.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top