1
Fork 0
mirror of https://github.com/Steffo99/config-fish.git synced 2024-10-16 14:27:34 +00:00
config-fish/functions/rm.fish

8 lines
202 B
Fish
Raw Permalink 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