Change the default crontab editor – Bash
Posted by Bash, Code, Command-Line, Cron, Guides, Linux, OS X | Posted on 30-01-2011
| Posted inYou can change your default crontab (crontab -e) by setting the EDITOR environment variable in BASH:
hostname# which vi /usr/bin/vi hostname# export EDITOR=/usr/bin/vi hostname# set | grep EDITOR EDITOR=/usr/bin/vi _=EDITOR hostname#