On the command line, if I do a mate <filepath> , it opens the correct file for me in TextMate.
But when I do this:
$ mate -v open: invalid option -- v Usage: open [-e] [-t] [-f] [-W] [-R] [-n] [-g] [-h] [-b <bundle identifier>] [-a <application>] [filenames] [--args arguments]
Also, when I do git commit , I see the following:
$ git commit error: cannot run mate: No such file or directory error: There was a problem with the editor 'mate'. Please supply the message using either -m or -F option.
My ~/.bashprofile has the following lines:
#Set Textmate as my default editor from the command-line alias mate='open -a TextMate.app' export EDITOR="/usr/local/bin/mate -w"
And ~/.bashrc only has this:
alias mate='open -a TextMate.app'
Change 1
My ~/.gitconfig includes the following:
[user] name = My Name email = myemail@address.com [core] editor = mate [github] user = marcamillion token = 50e3iuaidsgadjkhwkjegakjhbsdkjb30432 (don't worry, this is fake)
Help!
source share