crontab -e 报错(E518: Unknown option: foldenable)
程序员文章站
2022-05-22 18:14:30
crontab 默认编辑器为vi,不支持foldenable 将默认编辑器改为vim即可解决 将这句话加入/root/.bashrc ......
crontab 默认编辑器为vi,不支持foldenable
#crontab -e error detected while processing /root/.vimrc: line 57: e518: unknown option: foldenable press enter or type command to continue crontab: installing new crontab
将默认编辑器改为vim即可解决
export editor=/usr/bin/vim
将这句话加入/root/.bashrc