Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Should we have developers alias rm / rm -rf to use interactive flag? #42
I'm not sure if it's better to have them understand the severity of destructive actions by allowing them to maybe make that mistake at some point, but I do like the idea of giving them a little bit of a safety net.
This just gives them a confirmation message before removing files. e.g.
〉 rm -rf tmp/ examine files in directory tmp? y remove tmp/banana.txt? y remove tmp? y