Last active
December 31, 2015 19:29
-
-
Save zealoushacker/8033691 to your computer and use it in GitHub Desktop.
sublime alias for your terminal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| If you are on a mac, please follow these instructions to get your sublime link set up appropriately. | |
| Run this command if you have sublime text 2: | |
| echo "alias subl='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'" >> ~/.bash_profile | |
| Or, if you have sublime text 3, run this command: | |
| echo "alias subl='/Applications/Sublime\ Text\ 3.app/Contents/SharedSupport/bin/subl'" >> ~/.bash_profile | |
| Restart your terminal. | |
| Try to run subl in your terminal again :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the command line I copied and pasted the following into my command line
echo "alias subl='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'" >> ~/.bash_profile
but received the error Permission denied. Can you provide any clarification? Thanks!