mvim
is installed in /usr/local/bin/
but can not be used as either EDITOR
or VISUAL
:
$ mvim -f # works as expected
$ EDITOR="/usr/local/bin/mvim -f" crontab -e
crontab: /usr/local/bin/mvim -f: No such file or directory
crontab: "/usr/local/bin/mvim -f" exited with status 1
I tried single quotes and using VISUAL
instead of EDITOR
. Same result. I also tried googling, but apparently the -f
flag works just fine for everybody else.
I use Mac OS 10.6.6 and zsh, but the problem is the same in bash.