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

Re: crontab -e



On Tue, 04 Sep 2007 02:24:16 +0200
Mathias Brodala <info@noctus.net> wrote:

> Hi Raquel.
> 
> Raquel, 04.09.2007 02:22:
> > I have a new install of Etch.  When I issue the command
> >   #crontab -e
> > I get the nano editor.  I would really rather use the vim
> > editor.  How do I change what gets used?
> 
> Set the EDITOR environment variable in the config file of your
> preferred shell. (~/.bashrc for Bash)
> 
> 
> Regards, Mathias
> 
> -- 
> debian/rules
> 
> 

Hmmm, I thought it was configured using the update-alternatives
system.  However, when I run (as root):
  #update-alternatives --set editor /usr/bin/vim
I get an error:
  #update-alternatives: Cannot find alternative `/usr/bin/vim'.

-- 
Raquel
============================================================
Constitutions should consist only of general provisions; the reason
is that they must necessarily be permanent, and that they cannot
calculate for the possible change of things.
  --Alexander Hamilton



Reply to: