// nano export VISUAL=nano; crontab -e // vim export VISUAL=vim; crontab -e
EDITOR=nano crontab -e. This will use nano only for that execution. alias crontab='EDITOR=nano /usr/bin/crontab' This will work on your current session