Before adding this to my profile I entered these 2 on the command line, but I did not see a difference. Based on the first one I decided to try '/Applications/TextMate.app/Contents/MacOS/TextMate', and that brought up TextEdit too!
- Tad
Phil Dobbin wrote:
On 22/11/11 17:15, "Tad Lamb" tad@tadlamb.com wrote:
Thanks for the reply. Yes, believe it or not, when I click the TextMate icon in the Dock TextEdit opens up instead of TextMate. I checked my default for text files and it is set to Smultron.
I've been a Mac user for about 3 years now, but something like this is still magic for me. I don't know how to 'open up the hood' and edit what happens when a Dock icon is clicked. Also, as further confirmation, I typed 'mate' in the Console and TextEdit opened up that way too.
Try putting:
`export MP_EDITOR=/Applications/TextMate`
&
`export EDITOR=/usr/bin/mate`
In your .bash_profile
Cheers,
Phil...
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate