Skip to main content
my need was for crontab, but of course editor selection is broader than that
Link
Seamus
  • 5.1k
  • 3
  • 23
  • 44

change default editor for crontabcommand line tasks?

Source Link
Seamus
  • 5.1k
  • 3
  • 23
  • 44

change default editor for crontab?

I want to create a cron job. Launching a terminal window, and entering crontab -e opens my current crontab, but opens it in the editor vi. I would prefer to use the nano editor.

How do I configure my system (Mojave) to launch nano instead of vi?