Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I link sublime to terminal? #1

Open
thomaslima opened this issue Mar 3, 2018 · 4 comments
Open

How do I link sublime to terminal? #1

thomaslima opened this issue Mar 3, 2018 · 4 comments

Comments

@thomaslima
Copy link
Member

I don't know how to do that!!!

@bshastri
Copy link
Collaborator

bshastri commented Mar 3, 2018

In your bash profile add:

subl() { open -a Sublime\ Text.app "$1"; }

In terminal, just type:

subl .

@CareF
Copy link
Collaborator

CareF commented Mar 3, 2018

For linux users, bash profile is at:
~.bashrc

@thomaslima
Copy link
Member Author

To edit your bash profile, please type nano ~/.bashrc

@thomaslima
Copy link
Member Author

Or nano ~/.bash_profile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants