1
Fork 0
mirror of https://github.com/Steffo99/config-fish.git synced 2024-12-22 23:04:22 +00:00
config-fish/functions/rm.fish

8 lines
202 B
Fish
Raw Normal View History

2024-08-21 09:45:18 +00:00
which rm --skip-functions >/dev/null 2>/dev/null
if [ $status -eq 0 ]
function rm --wraps="rm"
2024-08-21 19:59:02 +00:00
log-t "Performing a" "safe delete" "..."
2024-08-21 09:45:18 +00:00
command rm --interactive="always" $argv
end
2022-01-01 18:52:43 +00:00
end