How do I change my default editor? Right now it is nano which I don't like very much. I'd rather use vi or at least pico. Can someone tell me how to get this done?
You need to export your editor:
Code:# set | grep EDITOR EDITOR=/bin/nano # which vi /usr/bin/vi # export EDITOR=/usr/bin/vi # set | grep EDITOR EDITOR=/usr/bin/vi #
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks