Put in your ~/.bashrc lines like this: export EDITOR="vim.tiny" export VISUAL=$EDITOR
Exit the current login session and then log in again, or load the new contents of ~/.bashrc with
$ . ~/.bashrc Convince yourself that all is well in the environment with: $ env -- IMPORTANT: This email is intended for the use of the individual addressee(s) named above and may contain information that is confidential, privileged or unsuitable for overly sensitive persons with low self-esteem, no sense of humour or irrational metaphysical beliefs.