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

8 lines
191 B
Fish
Raw Normal View History

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