top | item 40481925

(no title)

d0nd0ne | 1 year ago

I incorporated some undo functionality in my shell.

For the removal of files/dirs, I alias `rm` to `mv -t ~/.trash` in my .bashrc/.zshrc file.

Running `rm foo.txt` then only moves foo.txt into the trash instead of removing it completely.

This can the extended to incorporate a simple automated timed trash empty process.

discuss

order

JohnFen|1 year ago

I put about an equal amount of effort into ensuring that the recycle bin is completely disabled. I find it really irritating.

It just illustrates how one person's indispensable feature is another person's annoyance. These things should exist, but should always be able to be disabled.