crontab -evi starts up as the default editor. The truth is I don't like vi. I've tried to use it, but I can never remember it's key commands for more than a few minutes. Instead, I prefer to use emacs. To get crontab to use emacs instead of vi, just add the following two lines to your .bash_profile:
EDITOR=emacs
export EDITOR
That's it.
No comments:
Post a Comment