mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-11-13 15:19:09 +01:00
new function to trash files instead of removing them permanently
This commit is contained in:
1 parent
b1ed437521
commit
3c9de23a29
1 file changed
+4
@@ -0,0 +1,4 @@
|
|||||||
|
function rm
|
||||||
|
# Use GIO in order to move the file to trash instead of deleting it permanently
|
||||||
|
/usr/bin/gio trash $argv
|
||||||
|
end
|
||||||
Reference in new issue
Block a user