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

Re: nano vs VI



On Wed, 01 Jan 2014 08:59:24 -0500,
Paul Cartwright<pbcartwright@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.

-- Andreas Rönnquist
mailinglists@gusnan.se
gusnan@gusnan.se


Reply to: