Are you tired of seeing "rm: remove regular file foo" when using rm?

3 risposte [Ultimo contenuto]
ZykoticK9
Offline
Iscritto: 04/07/2011

as the final line of ~/.bashrc add:

unalias rm

then source ~/.bashrc to apply the change.

special thanks to mjmt and jxself in #trisquel for the solution

lloydsmart

I am a member!

Offline
Iscritto: 12/22/2012

Thanks! This is useful.

ssdclickofdeath
Offline
Iscritto: 05/18/2013

I think that it's too easy to accidentally remove the wrong file without the confirm prompt.

ZykoticK9
Offline
Iscritto: 04/07/2011

ssdclickofdeath I take it Trisquel dev(s) agrees with you. I found it SUPER annoying.