I hate vi. (aka Changing your default crontab editor)
May 7th, 2008I’m trekking into the unknown - CentOS, but thats off topic. For some reason, even the latest version stuck in 1982 - vi as the default editor for cron etc. Argh! I hate vi!
Want to change it to nano like me?
nano ~/.bashrc
and slam the following line at the bottom
export VISUAL=nano
The change will kick in when you login again. Or you can also call that line to make the changes effective immediately.
| Bookmark it del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Propeller | Yahoo |
Was this post useful to you? Let me know, buy me a beer!
Alternatively, if you're feeling impecunious, you may like to subscribe to my RSS feed, or see other articles in the Linux category.