K M Rakibul Islam
K M Rakibul Islam

Reputation: 34338

mate . command is not working in MAC OSX

I am trying to open the content of a directory using text mate by mate . command.

But, I am getting the message :

-bash: mate: command not found

I tried the following command to fix it :

ln -s /Applications/TextMate.app/Contents/SharedSupport/Support/bin/mate /usr/local/bin/mate

but, unfortunately this did not do the trick for me. It gives me the message :

ln: /usr/local/bin/mate: File exists

How to fix this problem ?

Upvotes: 14

Views: 18949

Answers (5)

William Hu
William Hu

Reputation: 16159

You can install the shell support in TextMate menu by the following steps:

Textmate -> Preference -> Terminal -> Install

enter image description here

Upvotes: 10

user2299985
user2299985

Reputation: 41

ln -s /Applications/TextMate.app/Contents/Resources/mate /usr/local/bin/mate

works for mate 2.10

Upvotes: 4

appdroid
appdroid

Reputation: 565

For me TextMate shell command was not installed that is why i was getting this error. To fix this, go to TextMate preferences, click on Terminal icon then click on 'install' shell command if it's not already installed (if it's already installed you will get option to 'uninstall').

Upvotes: 16

Maged Makled
Maged Makled

Reputation: 1986

ln -s /Applications/TextMate.app/Contents/SharedSupport/Support/bin/mate /usr/local/bin/mate 

worked for me after installing a MAC 10.9

Upvotes: 13

mipadi
mipadi

Reputation: 411072

Make sure /usr/local/bin is on your $PATH.

Upvotes: 1

Related Questions