Skip to content

Commit

Permalink
Merge pull request CoreyMSchafer#5 from connorjan/master
Browse files Browse the repository at this point in the history
Fixes sublime.sh missing directory issue
  • Loading branch information
CoreyMSchafer authored Apr 17, 2019
2 parents 83f938d + 69eac5f commit c4398a9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sublime.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Create Sublime Text directories as they don't exist until Sublime is opened
mkdir -p ~/Library/Application\ Support/Sublime\ Text\ 3/Installed\ Packages/Package\
mkdir -p ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/

# Install Package Control
curl "https://packagecontrol.io/Package%20Control.sublime-package" > settings/Package\ Control.sublime-package
cp -r settings/Package\ Control.sublime-package ~/Library/Application\ Support/Sublime\ Text\ 3/Installed\ Packages/Package\ Control.sublime-package
Expand All @@ -11,5 +15,5 @@ cp -r settings/Default\ \(OSX\).sublime-keymap ~/Library/Application\ Support/Su
cp -r settings/Python-2.sublime-build ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/
cp -r settings/Python-3.sublime-build ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/User/

# Creat symlink to subl command
# Create symlink to subl command
ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl

0 comments on commit c4398a9

Please sign in to comment.