How to change the default text editor ?

Carson Wilcox carson.wilcox at verizon.net
Thu Apr 6 12:41:24 UTC 2006


they are both the same, the only diff is that while
the single line version can be used in bash and korn
shell, it will not work in bourne shell.

--- Adam Funk <a24061 at yahoo.com> wrote:

> On 2006-04-06, Chris Peterman <kyral at ubuntu.com>
> 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?
> 
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
>
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 





More information about the ubuntu-users mailing list