Sunday, April 28, 2024
36
rated 0 times [  36] [ 0]  / answers: 1 / hits: 46638  / 2 Years ago, mon, august 15, 2022, 2:29:43

Right, this is a slightly annoying feature because something this happens, and other times it doesn't, very odd.



I paste a command into the terminal with a view to tweaking its arguments, and sometimes it executes the second I paste it. Sometimes it doesn't.



This ranges from embarrassing ( posting nonsensical comments on an IRC ) to dangerous.



How can I shut this feature off for good? I never, never, never want the terminal to auto execute when I paste to it.


More From » command-line

 Answers
1

There's no auto execution.
You probably are also copying a line break (or more) after the command.


If you paste a command with a break, the shell (command line) thinks that you hit the break (Enter, Return) button by yourself.




This answer only explains why OP is getting the undesired behavior. However, in another answer, there is a real solution to the OP’s problem.


[#28393] Wednesday, August 17, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
motivengry

Total Points: 459
Total Questions: 112
Total Answers: 108

Location: Bonaire
Member since Sat, May 1, 2021
3 Years ago
motivengry questions
Tue, Oct 4, 22, 10:02, 2 Years ago
Wed, May 31, 23, 14:33, 12 Months ago
;