> > Then commands like visudo, vipw, svn commit, ... (list goes on) ... will
> > use that editor by default.
> 
>    According to the sudo man page, visudo does not honor the EDITOR or VISUAL
> environments from .bash_profile or .bashrc. It needs to be set explicitly as
> the first line of /etc/sudoers.

Works for me.  I use zile, which is hardly a popular editor.

Looking at my man page, it says it honors that environment variable if
the editor is in a predefined list.  Maybe Debian has a predefined
list based on installed editors.  Not sure.

tim
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to