Monday, 31 August 2009

How to change default Linux VI text editor to Pico

If only for the session just run this: export EDITOR=/usr/bin/pico


If you want to change it so every time it will use Pico do this:


Open the server command line


Run:



  1. export EDITOR=/usr/bin/pico

  2. pico ~/.bashrc


Add this line at the bottom of the file:



  1. export EDITOR=/usr/bin/pico


Save the file and your done.


This changes the server to always use Pico no matter when it’s being used.

No comments:

Post a Comment