Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: