-
-
Save jadaradix/8fbfb52a942fe31b7354 to your computer and use it in GitHub Desktop.
rm /usr/local/bin/subl; | |
sudo ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl; |
Sublime was working just fine until it decided to stop opening files from the terminal. I've been troubleshooting for two hours before finding this, and it worked! Thank you so much.
I created this on Oct 17, 2014 and I can't work out why you need a root shell now. It seems to work fine without it, so updated. - J
Worked! Thanks!
This is why you need a root shell: ln: /usr/local/bin/subl: Permission denied
Updated!
Hey, I know this is an older discussion. But I am quite lost with setting up the subl command. I tried almost everything I could find already and I also tried this. I was able to create the link but if I want to use the command "subl" it says "command not found". Is there anything I am doing wrong? Thanks a lot!
Thx seems to work but i dont really understand what is happening is this yoesmite exclusive? what a piece of junk... xDD . BR.
Awesome, it worked!!.
I was having a problem following it up because I was using auto fill command using tab. I noticed that it adds closing quote after auto fill. Keep an eye. Add the closing quote at the end of the first argument.
literally struggled for 28000 years, thanks so much
You saved me, I love you.
Annnnnd you saved me, too. Thank you!
SAVED. Thank you!
thanks a lot
MAC air 10.13.3 (17D102) with sublime3, it real work. thanks
sudo ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/sublime
might be more pleasing (although I use 'sub' as the new command)
Thanks a lot!!
Thank so much...this was a lifesaver. God bless you. You are AWESOME!!!!!!!!
Worked great for me as well. Had to drop the 3 I was placing after Sublime Text. You have to get that application name exact or it will not work! Thank you.
Bless up thank you my brotha
Thank you soooo much!!
Thanks a lot!
TOP
Worked! Great! Thanks!
thank you sooooo much!