Daily Archives: 2012-02-17

Selecting the editor on Debian/Ubuntu non-interactively

Set the selected editor on Ubuntu/Debian for yourself and root in one line: echo ‘SELECTED_EDITOR=”/usr/bin/vim.nox”‘|tee $HOME/.selected_editor| \ sudo tee

Posted in Bash, EN, Linux, Programming | Tagged , | Leave a comment