mvim installed in /usr/local/bin/ , but cannot be used as 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 used VISUAL instead of EDITOR . The same result. I also tried googling, but apparently the -f flag is great for everyone else.
I am using Mac OS 10.6.6 and zsh, but the problem is the same in bash.
source share