Re: Suggestions for rm [WAS: Re: Feature request: install package by passing URL to apt-get]
On Fri, Jun 24, 2022 at 07:02:35AM +0000, Andrew M.A. Cater wrote:
Train your brain and your fingers to move the rf to the end of the command so
that you _have_ to check what filename you are typing as you type it.
I set a shell alias
alias rm='echo use trash instead'
This was enough to train me out of typing "rm" in most situations and
instead use 'trash':
https://tracker.debian.org/pkg/trash-cli
Another advantage of trash-cli, as well as the safety measure, is
'trashing' large trees is much faster than deleting them.
--
Please do not CC me for listmail.
👱🏻 Jonathan Dowland
✎ jmtd@debian.org
🔗 https://jmtd.net
Reply to: