[Feature request]: support doas
paper42 opened this issue · 2 comments
paper42 commented
I think it would be good to add doas support to scripts like xi.
Vaelatern commented
How do you propose it be done? Fallback if sudo not available? Or be opportunistic and try for sudo as default?
paper42 commented
Maybe it could look if /etc/doas.conf exists, and if it does, prefer doas. Because if doas isn't configured, the file will not be there.