0

I have this weird problem. mvim alias in terminal will launch macvim without problem but if I do, for example

~$ mvim .vimrc

mvim will launch on an empty file and .vimrc will be opened in TextEdit.. how can I fix that? This is pretty annoying!

Felix D.
  • 2,180
  • 1
  • 23
  • 37
  • 2
    For me, `mvim` is a script, not alias. Can you show us what your alias looks like? – Amadan Dec 03 '13 at 00:49
  • I've added alias mvim="open /Applications/MacVim.app" to my .bash_profile – Felix D. Dec 03 '13 at 15:29
  • never mind I've deleted that useless alias. I've added the mvim file that comes in the application folder in /usr/local/bin which I've added to my path but its still not working – Felix D. Dec 03 '13 at 15:44

1 Answers1

1

Don't ask me why, but I had created an alias in .bash_profile. After deleting that useless alias, everything worked!

Felix D.
  • 2,180
  • 1
  • 23
  • 37