Now, that is really strange. Is maybe your sudo already an alias for doas by any chance? Could you run the following in your terminal, for example?
$ whichsudo
It should either say sudo: aliased to doas, or something like /usr/bin/sudo. The former would confirm my suspicions, that you have sudo aliased to doas already, the latter would mean you call the normal sudo command.
I honestly don’t know lol. I did really just Alias sudo.
Now, that is really strange. Is maybe your
sudo
already an alias fordoas
by any chance? Could you run the following in your terminal, for example?$ which sudo
It should either say
sudo: aliased to doas
, or something like/usr/bin/sudo
. The former would confirm my suspicions, that you havesudo
aliased todoas
already, the latter would mean you call the normalsudo
command.