mirror of
https://github.com/Steffo99/config-fish.git
synced 2024-12-22 23:04:22 +00:00
7 lines
202 B
Fish
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
|