dotfiles/setup/sublime-settings.sh

12 lines
319 B
Bash
Raw Normal View History

2012-10-16 12:17:12 +00:00
#!/bin/bash
2012-10-16 12:11:28 +00:00
# Enables Sublime settings syncronization
if [ `uname` == 'Darwin' ]; then
cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
else
cd ~/AppData/Roaming/Sublime\ Text\ 2/Packages
fi
[ ! -d ../Packages.bak ] && mkdir ../Packages.bak
mv User ../Packages.bak/User
ln -s ~/dotfiles/sublime/User User