BlacKernelBlacKernel@nixnet.social
Aug 17, 2021, 5:31 AM@klaatu I just wrote (read: mostly stole) the beta version for a program based on the idea behind trashy by modifying the uutils project's rust implementation of rm.
The reason why one might find it useful is because trashy doesn't handle CLI flags the same as rm, so if you try to alias rm=trashy it doesn't always work. This should fix that, as what I am doing is intercepting the parts of rm where the file would be removed and instead moving it to $XDG_DATA_HOME/Trash/files
I am curious what you might think of the idea/implementation.
https://gitlab.com/BlacKernel/waste-paper-basket.git
The reason why one might find it useful is because trashy doesn't handle CLI flags the same as rm, so if you try to alias rm=trashy it doesn't always work. This should fix that, as what I am doing is intercepting the parts of rm where the file would be removed and instead moving it to $XDG_DATA_HOME/Trash/files
I am curious what you might think of the idea/implementation.
https://gitlab.com/BlacKernel/waste-paper-basket.git