Y
Hacker News
new
|
ask
|
show
|
jobs
by
raldu
4170 days ago
A simple alias would work as a quick fix:
alias rm='rm -I'
With the -I flag, rm asks the user before removing multiple files or removing recursively. One of the top in my aliases file.