01.01.2014 15:09, Andreas Rönnquist:
> On Wed, 01 Jan 2014 08:59:24 -0500,
> Paul Cartwright<pbcartwri...@gmail.com> wrote:
> 
>> ok, so I have a wheezy setup. When I do a crontab -e to EDIT my
>> crontab, it brings up a nano session. I'm a VI kind guy, how do I
>> change that so VI comes up??
>>
> 
> It gets the editor from the EDITOR environment variable - to change to
> vi, do something like
> 
> export EDITOR=vi
> 
> - too keep this you can for example do it in your .bashrc.

... and if you rather want to change the system default, do

update-alternatives --config editor

as root.

P.S.: Sorry Andeas for the PM. Shouldn't have happened, but the brain
controlling my fingers seems to be still stuck in 2013...

-- 
Regards
  mks


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/52c4322b.6010...@list-post.mks-mail.de

Reply via email to