Hacker News new | ask | show | jobs
by singularity2001 1348 days ago
function rm(){ mv "@$" ~/.Trash }
1 comments

This was my initial idea but unfortunately there can be name conflicts, if two files or folders have the same name, this idea does not work anymore. Also, I wanted to be able to keep the initial path to restore the element directly where it was deleted.