Confirmation is not very effective, except if you use the function rarely. If you use it a lot, confirming just goes into musle memory.
The “shit, i didn’t mean to do that” moment is really when concious thought kicks in again. That’s why undo is so great.
Sometimes distros will alias rm with the -i flag so it prompts for each file. An annoyance but makes you stop and think before continuing.
Confirmation is not very effective, except if you use the function rarely. If you use it a lot, confirming just goes into musle memory. The “shit, i didn’t mean to do that” moment is really when concious thought kicks in again. That’s why undo is so great.