dotfiles/setup/sublime-settings.sh
2012-10-16 16:17:12 +04:00

12 lines
319 B
Bash
Executable File

#!/bin/bash
# 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