openwrt-packages/utils/vim/files
Florian Fieber 9f4c0abc22 vim: Fix editing crontabs with crontab -e
Per default, vim creates a new file and keeps the original file as backup.
This leads to crontab checking the backup file for changes instead of the
one actually being edited, resulting in any changes being silently dropped.
Since busybox's crontab saves temporary crontab files in "/etc/crontabs.*"
vim's default of "backupskip=/tmp/*" doesn't circumvent this.

This commit fixes this issue by appending "/etc/crontabs.*" to "backupskip".

Signed-off-by: Florian Fieber <florian@florianfieber.de>
2015-06-05 20:32:44 +02:00
..
vimrc vim: Fix editing crontabs with crontab -e 2015-06-05 20:32:44 +02:00
vimrc.full vim: Fix editing crontabs with crontab -e 2015-06-05 20:32:44 +02:00