title: OSX: Environment variables pointing to application bundles?
body: <p>I want cscope to open files in MacVim instead of vim, so I'm trying to have the path to MacVim as the Value of the EDITOR environment variable which is used by cscope:</p>
  
  <pre>$ export EDITOR=/Applications/MacVim.app/Contents/MacOS/MacVim</pre>
  
  <p>If I'm now trying to edit a file from within ctags, it won't work and throws this error message:</p>
  
  <pre>$ MacVim[8384:10b] No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting</pre>
  
  <p>Calling MacVim from the commandline with</p>
  
  <pre>$ /Applications/MacVim.app/Contents/MacOS/MacVim</pre>
  
  <p>works, though.</p>
  
  <p>How can I fix this?</p>