1
Fork 0
mirror of https://github.com/Steffo99/config-fish.git synced 2024-12-22 14:54:23 +00:00
config-fish/functions/rm.fish
2024-08-21 21:59:02 +02:00

7 lines
202 B
Fish

which rm --skip-functions >/dev/null 2>/dev/null
if [ $status -eq 0 ]
function rm --wraps="rm"
log-t "Performing a" "safe delete" "..."
command rm --interactive="always" $argv
end
end