How to change the default text editor ?

Adam Funk a24061 at
Thu Apr 6 11:01:04 UTC 2006

On 2006-04-06, Chris Peterman <kyral at> wrote:

> EDITOR =3D <command for editor>
> export EDITOR
> to have it set everytime put those in your ~/.bashrc or
> ~/bash_profile

I do this with one line in ~/.bashrc
export EDITOR='emacs -nw'

Doesn't that have the same effect as the two-line version?

More information about the ubuntu-users mailing list