I\'m having difficulty getting this set up. I fixed my .bash_profile
, and created the symlink using the following command from the Sublime website:
This is what worked for me.
First, make sure you are in home folder:
cd ~
Step 1: Remove the /Users/Ram/bin/subl
directory by using following command line:
rm -rf /Users/Ram/bin/subl
Step 2: Create this folder again using following command line:
mkdir /Users/Ram/bin/subl
STEP 3: use the following command to create a symbolic link to sublime:
sudo ln -sv "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl
(using sudo
before this command overrides permission issues)
Step 4: Now you can test if subl
works:
subl test.py
This should open up sublime with new test.py
file created.