Created
October 31, 2012 04:05
-
-
Save Layzie/3984723 to your computer and use it in GitHub Desktop.
Make Sublime Text 2 settings alias for syncing Dropbox
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
| #!/bin/sh | |
| cd ~/Library/Application\ Support/Sublime\ Text\ 2/ | |
| ln -s ~/Dropbox/Sublime\ Text\ 2/Installed\ Packages ./Installed\ Packages | |
| ln -s ~/Dropbox/Sublime\ Text\ 2/Packages ./Packages | |
| ln -s ~/Dropbox/Sublime\ Text\ 2/Pristine\ Packages ./Pristine\ Packages | |
| # for "Vintage" mode because of no key repeat. | |
| defaults write com.sublimetext.2 ApplePressAndHoldEnabled -bool false | |
| # for CUI symlink | |
| ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" ~/bin/subl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment