2 ms·
Accidents like these have happened to me enough times that my .bashrc contains this in all my machines: alias rm='echo "This is not the command you are loo
by arximboldi 10y ago
Accidents like these have happened to me enough times that my .bashrc contains this in all my machines:
alias rm='echo "This is not the command you are looking for."; false'
I install trash-cli and use that instead.
Of course this does not prevent other kinds of accidents, like calling dd to write on top of the /home partition... ok, I am a mess :)