![]() |
|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
I would like to set vim as the editor for `crontab -e`, and per the man page I have tried setting EDITOR and/or VISUAL in ~/.profile. This works fine; however, I do not want either of these parameters to take effect for the ksh command-line editing mode. Is there a way to use vim _only_ for crontab?
|
|
||||
![]() Quote:
Code:
export ENV="${HOME}/.kshrc" Code:
set -o emacs |
|
|||
![]()
Very nice, thank you both!
|
![]() |
Tags |
crontab, editing, ksh, mode, vim |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
vi editor | jjstorm | OpenBSD Packages and Ports | 20 | 1st December 2014 04:37 PM |
reboot FreeBSD box with crontab | mfaridi | FreeBSD General | 1 | 15th October 2011 02:37 AM |
default crontab | fbroce | OpenBSD Installation and Upgrading | 13 | 13th September 2010 09:20 PM |
Crontab won't run script | Petrocelli08 | FreeBSD General | 4 | 7th March 2009 04:19 AM |
Crontab not working | beandip | FreeBSD General | 6 | 6th August 2008 08:33 PM |