Changing default editor for "crontab -e" in Slackware 13.1

Just found this thread (posting here for future reference, without using Google):

sudo nano /etc/profile
export EDITOR="/usr/bin/nano"
export VISUAL="/usr/bin/nano"

Note: you have to reboot or log out/log back in to see the changes take effect

Tagged , , . Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • IGlr