How to change the default editor in Terminal
May 21, 2014
In the terminal, run
code
export EDITOR=nano
to change the default editor to nano (or whatever) and then run
code
source ~/.bashrc
for the change to take effect
May 21, 2014
In the terminal, run
export EDITOR=nano
to change the default editor to nano (or whatever) and then run
source ~/.bashrc
for the change to take effect