Java and….and Sublime Text (MAC OS X) Part 2

First lets see some screen shots

Screen Shot 2013-05-15 at 10.02.45 PM

Screen Shot 2013-05-15 at 10.29.30 PM

Hmm now i am going tell how to open Sublime Text from Terminal, just follow this page

you may ask for permission issues when you enter the code into terminal, just simply add sudo at the beginning. And if it says the path not found then you have to create the bin folder write in the terminal, mkdir bin

If you have not succeeded, then you have to do some work …

1. Open terminal
2. vim .bash_profile
3. type i, to get access to write
4. you will see this line, export PATH
5. add this, $PATH:~/bin
6. Finally you should have something like this, export PATH=$PATH:~/bin
7. press esc then press shift + q
8. write, wq

restart terminal, now try command subl in the terminal

you can pass many types of argument just check the link i gave earlier in this post.

Thanks to Shouro Vaia 😀


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s