6 ms·
alias rm=trash I have a habit of cleaning up the workspace in my machine. This alias saved me a 1000 times already.
by anarchyrucks 6y ago
alias rm=trash
I have a habit of cleaning up the workspace in my machine. This alias saved me a 1000 times already.
- hiq 6y agoI prefer something like "alias sp=trash" (sp for suppress), and getting into the habit of using this alias (for instance by doing alias rm="echo nope"), so that if I use it on another machine by mistake, it just fails instead of using /bin/rm (and I can then resort to trash or double-check that my rm command is not faulty).