Stories by zdkaster
I made rm-safely, a simple shell wrapper that moves files to trash instead of permanently deleting them. It prevents accidental deletions from autocomplete mishaps or hasty rm -rf commands.<p>Should work as a drop-in replacement for rm but safer.<p>Would appreciate any feedback!
Just want to share my weekend project,
named rm-safely.<p>It's just a simple shell alias, that can help prevent from accidental rm command (either both running by yourself or ai agent)<p>Tested on zsh 5.9 and bash 5.3<p>Might be useful for some people.
Also, happy to hear any feedback.