Saturday, September 28, 2013

How to run TextMate command in terminal on Mac OS

I have installed TextMate on my Mac,
i wanna edit some file in terminal using TextMate, googling that issue and found some tutorial
here's the step:
Open your Terminal and type
sudo ln -s /Applications/TextMate.app/Contents/SharedSupport/Support/bin/mate /usr/bin
now, you can call TextMat app with "mate" command:
mate /path/file_you_want_to_edit.txt
for more help, just type:
mate --help

No comments:

Post a Comment