Send to a Friend

Know someone who might have the answer? Pass it along!

elliottcable's avatar

How can I prevent accidental pasting in bash?

Asked by elliottcable (113 points) | asked June 17th, 2007 | 8 responses

I run bash as my shell of choice; and I am always accidentally pasting the wrong block of text in there - it can get annoying really quickly.

I also use irssi as my irc client (irssi > *), and I love how it warns you if you paste something over 5 lines long, and lets you cancel instead of sending it. I'm wondering if there is an extension of some sort to bash that enacts paste-protection like this. Anybody know?

Topics: , , , , , , , ,
Separate multiple emails with commas.
We’ll only use these addresses to forward this discussion.