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

7 lines
173 B
Fish

which sudo --skip-functions >/dev/null 2>/dev/null
if [ $status -eq 0 ]
function dudo --wraps="sudo"
log-t "just do as" "superuser" ", bro"
command sudo $argv
end
end