On 02/01/14 04:20, Markus Schönhaber wrote:
> 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.

Also perhaps:

aptitude purge nano :-)

Richard



-- 
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/52c4ac09.8000...@walnut.gen.nz

Reply via email to