Monday, January 18, 2010

Change Default Editor on Linux

#set | grep EDITOR
EDITOR=/bin/pico
# which vi
/usr/bin/vi
# export EDITOR=/usr/bin/vi
# set | grep EDITOR
EDITOR=/usr/bin/vi
_=EDITOR