The enhanced terminal usage of TextMate creates a link to "/Applications/TextMate.app/Contents/Resources/mate" in one of the directories declared in the PATH variable. I choosed the /usr/bin directory. The first error comes maybe because "/opt/local/bin" doesn't exists. The second error is strange, TextMate should ask you for the admin password while you clicked on the "Create Link" button.
You can still make the link by hand by typing :
sudo ln -s /Applications/TextMate.app/Contents/Resources/mate /usr/bin/mate
in the Terminal, after having entered your admin password.


Le 28 mai 06 à 04:13, Chad Lung a écrit :

Originally when I installed Textmate it offered to put in the link for the "mate" command which I chose to do.  The mate command worked from terminal until the next day when I fired up my computer and suddenly it stopped working.  So I went into the "Help" menu, "Terminal "Usage" option and clicked the "Create Link" button for /opt/local/bin, it gives me an error "Couldn't create link: /opt/local/bin/mate filed ... bad address".  If it use any of the other paths I get an error the the operation is not permitted.

Not sure what to do.  Isn't mate just a symbolic link to the actual textmate.app in applications?

Thanks for nay help on this.

______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate

        Urbanose