How to change your standard editor
Sunday, April 13th, 2008Everyone who is using linux knows that if you type editor in a bash shell an editor opens. But where can you change that editor?
Change the editor temporarily
Just execute the following on your shell:
export EDITOR=joe
Change the editor forever
Edit ~/.bash_profile and add the following:
export EDITOR=joe