As pointed out, the alias should be
function del() {
mv “$@“ ~/.Trash
}
instead. Thanks @floatingatoll! function del() {
mv “$@“ ~/.Trash
}
instead. Thanks @floatingatoll!Also, be aware this will silently delete older files with name collisions.