title: How can I use mvim to edit my crontab on Mac OS X (10.6.6)
body: <p><code>mvim</code> is installed in <code>/usr/local/bin/</code> but can not be used as either <code>EDITOR</code> or <code>VISUAL</code>:</p>
  
  <pre><code>$ 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
  </code></pre>
  
  <p>I tried single quotes and using <code>VISUAL</code> instead of <code>EDITOR</code>. Same result. I also tried googling, but apparently the <code>-f</code> flag works just fine for everybody else.</p>
  
  <p>I use Mac OS 10.6.6 and zsh, but the problem is the same in bash.</p>