[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: changing default editor



Brian Nelson <nelson@bignachos.com> writes:

> John Griffiths <john@capmon.com> writes:
> 
> > Hi all
> > 
> > tryng to change the default editor on a potato 2.2.r4 system so users
> > who're not comfortable with vi can use mutt to send messages
> > 
> > I tried:
> > 
> > EDITOR=jed; export EDITOR
> > 
> > which works until the user logs out
> > 
> > any thoughts on making it stick?
> 
> Put:
> 
> export EDITOR=jed
> 
> in your ~/.bashrc...  or:
> 
> set editor=jed
> 
> in your ~/.muttrc

Sorry, I forgot:

# update-alternatives --config editor

as another way.

-- 
Brian Nelson <nelson@bignachos.com>
BigNachos@jabber.org
http://bignachos.com



Reply to: