
One purpose of the mate command is so that you can use TextMate as your editor for Subversion commit messages and similar (for the few times you do not commit from within TextMate :) ), for this to work, mate should be called with the -w option, and for most applications you can include that in the EDITOR variable, e.g.: export EDITOR="$HOME/bin/mate -w" It is important that you use $HOME instead of ~, since the tilde is not expanded inside strings (the line should be placed in e.g.

On the subject of the mate shell command, setting your path to include ~/bin needs (for bash) to be done like this: export PATH="$HOME/bin:$PATH"

I plan to allow TextMate to create this symbolic link for you, just need to figure out the best way to do so. Since this only creates a symbolic link, updating TextMate in the future should keep the shell command up-to-date as well. So assuming you installed TextMate under /Applications and you want the mate command in ~/bin, you would (from Terminal) run: ln -s /Applications/TextMate.app/Contents/Resources/mate ~/bin/mate What you are supposed to do is, create a symbolic link from your bin directory to the shell command inside the application bundle. The command is now located in the actual TextMate application bundle (under Contents/Resources), and is named mate (since some mistyped tm and got rm instead).
#TEXTMATE COMMAND LINE UPDATE#
Included with previous versions of TextMate was a shell command named tm which is absent from the recent update (for those who don’t read the release notes).

Next post: Release 540 was Tiger only TextMate shell utility (tm/mate)
