Solution for: #114: Set Ubuntu crontab default editor
Setting Ubuntu's default sensible-editor
- yliu on April 15, 2011, 11:04 AM UTC
Turns out there is another tool in Ubuntu used to set the sensible-editor. In particular:
will change the editor being used by sensible-editor, and by extension, the crontab -e invocation.
Not sure what the relationship is between the Debian Alternatives system and this select-editor util. I'm learning something new every day with these newfangled distros :p
sudo /usr/bin/select-editor
will change the editor being used by sensible-editor, and by extension, the crontab -e invocation.
Not sure what the relationship is between the Debian Alternatives system and this select-editor util. I'm learning something new every day with these newfangled distros :p