Because I didn't create textmate link when installing, so it can not find 'mate' command. who can help me to deal with this? thanks
Textmate 2:
From the menu:
Textmate -> Preferences -> Terminal: click install
For more information read the "Terminal Preferences" from Help