sudo-rs icon indicating copy to clipboard operation
sudo-rs copied to clipboard

visudo: unable to find editor

Open hyder365 opened this issue 6 months ago • 2 comments
trafficstars

I have the following in root's .bashrc

alias vim='TERM=xterm-color vim' export EDITOR=vim

Calling visudo-rs complains that it can't find the editor and refuses to start. Commenting out the first of the above two lines fixes the problem. I think visudo-rs is trying to interpret the alias as its own command and is thus failing for some reason.

hyder365 avatar May 07 '25 20:05 hyder365