-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
function t -d "Move file or files to trash"
# Prefer kioclient because it also handles deleting expired files
# kioclient only works when running in a desktop, not over SSH
if type -q kioclient; and set -q DISPLAY
kioclient move $argv trash:/
else
gio trash $argv
end
end