sudo-rs
sudo-rs copied to clipboard
visudo: unable to find editor
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.