Last active
September 29, 2017 08:03
-
-
Save jaakkolehtonen/564587e889e2e277219ff657e2b0aade to your computer and use it in GitHub Desktop.
Keep @sublimehq in sync via @dropbox (OS X)
This file contains 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
# On your first machine, use the following instructions | |
# If your Dropbox folder is not in the default location, you'll need to change ~/Dropbox to your location | |
# 1. Close Sublime Text | |
# 2. Open Terminal/iTerm | |
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/ | |
# Add a new directory for Sublime inside ~/Dropbox folder | |
mkdir ~/Dropbox/Sublime | |
# Move User folder to ~/Dropbox/Sublime/ folder we created in previous step | |
mv User ~/Dropbox/Sublime/ | |
# Set up symlink to ~/Dropbox/Sublime/User folder | |
ln -s ~/Dropbox/Sublime/User |
This file contains 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
# On your other machine(s), use the following instructions | |
# If your Dropbox folder is not in the default location, you'll need to change ~/Dropbox to your location | |
# 1. Close Sublime Text | |
# 2. Open Terminal/iTerm | |
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/ | |
# Remove default User folder created by Sublime Text | |
rm -r User | |
# Set up symlink to ~/Dropbox/Sublime/User folder | |
ln -s ~/Dropbox/Sublime/User |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment