Created
October 10, 2014 00:17
-
-
Save weslley39/1b65500ff4a77d0ce1cf to your computer and use it in GitHub Desktop.
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
cd | |
mkdir bin | |
sudo ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl | |
cd $HOME // this will get you back to home directory | |
vim .bash_profile or .bashrc // this will open your .bash_profile file | |
export PATH=$PATH:~/bin | |
:wq // saves and close file | |
exit // exits terminal | |
source .bashrc | |
Just open a file with | |
subl file_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment