Web lists-archives.com

Re: Another Devuan annoyance: CLI default apps

* Ron OLGIATI <renaud@xxxxxxxxxxxxxxxxxxxxxxx> [17-10/31=Tu 19:11 -0300]:
> [...] in Debian, [crontab -e] opened the file with vi [...].
> Now under Devuan, crontab opens the file with nano [...].
> How do I get crontab back to using vi ?

In your <~/.bashrc>:

  export EDITOR=vim
  export VISUAL=vim

Or modify as needed if you're using some other vi than Vim,
or some other shell than Bash.

                 Will Mengarini  <seldon@xxxxxxxxxx>
         Free software: the Source will be with you, always.