@VikingKong No the real headline should be

"Don't hit enter too fast when copy-pasting commands from a website. Read what you pasted first."

Which in my opinion should be commonplace practice.

@Naughtylus @VikingKong That's false. The paste can include a newline.

If you try the examples from that website, you'll notice that you don't have to hit enter for them to be executed!

@hirnbrot @VikingKong I did try them, and I did have to hit enter.

Maybe that's what the author meant when they talked about zsh fixing the issue, my bad.

Sign in to participate in the conversation
Mastodon

mstdn.io is one of the instance in the fediverse. We're an open-minded generalistic instance. Learn more here!