Many debian installations have a program called 'select-editor' which runs the first time an editor is needed in the terminal. It saves the selected editor to ~/.selected_editor in the following format:
# Generated by /usr/bin/select-editor
SELECTED_EDITOR=
Many debian installations have a program called 'select-editor' which runs the first time an editor is needed in the terminal. It saves the selected editor to
~/.selected_editor
in the following format:TODO: Check for this after $VISUAL and $EDITOR