-
-
Save lucasdavila/6299271 to your computer and use it in GitHub Desktop.
Dropbox preferences sync
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
# bash_profile | |
mv ~/.bash_profile ~/Dropbox/.bash_profile | |
ln -s ~/Dropbox/.bash_profile ~/.bash_profile | |
# Sublime 2 Preferences | |
mkdir -p ~/Dropbox/Library/Application\ Support/Sublime\ Text\ 2/ | |
cd ~/Library/Application\ Support/Sublime\ Text\ 2/ | |
mv ./Installed\ Packages ~/Dropbox/Library/Application\ Support/Sublime\ Text\ 2/Installed\ Packages | |
mv ./Packages ~/Dropbox/Library/Application\ Support/Sublime\ Text\ 2/Packages | |
mv ./Pristine\ Packages ~/Dropbox/Library/Application\ Support/Sublime\ Text\ 2/Pristine\ Packages | |
ln -s ~/Dropbox/Library/Application\ Support/Sublime\ Text\ 2/Installed\ Packages ./Installed\ Packages | |
ln -s ~/Dropbox/Library/Application\ Support/Sublime\ Text\ 2/Packages ./Packages | |
ln -s ~/Dropbox/Library/Application\ Support/Sublime\ Text\ 2/Pristine\ Packages ./Pristine\ Packages | |
# Iterm2 preferences | |
cd ~/Library/Preferences | |
mv com.googlecode.iterm2.plist ~/Dropbox/Library/Preferences/com.googlecode.iterm2.plist | |
mv com.googlecode.iterm2.plist.lockfile ~/Dropbox/Library/Preferences/com.googlecode.iterm2.plist.lockfile | |
ln -s ~/Dropbox/Library/Preferences/com.googlecode.iterm2.plist com.googlecode.iterm2.plist | |
ln -s ~/Dropbox/Library/Preferences/com.googlecode.iterm2.plist.lockfile com.googlecode.iterm2.plist.lockfile | |
# Terminal Preferences | |
mv com.apple.Terminal.plist ~/Dropbox/Library/Preferences/com.apple.Terminal.plist | |
mv com.apple.Terminal.plist.lockfile ~/Dropbox/Library/Preferences/com.apple.Terminal.plist.lockfile | |
ln -s ~/Dropbox/Library/Preferences/com.apple.Terminal.plist.lockfile com.apple.Terminal.plist.lockfile | |
ln -s ~/Dropbox/Library/Preferences/com.apple.Terminal.plist com.apple.Terminal.plist | |
# .gitconfig file | |
mv ~/.gitconfig ~/Dropbox/.gitconfig | |
ln -s ~/Dropbox/.gitconfig .gitconfig | |
#nano | |
mv .nano ~/Dropbox/.nano | |
ln -s ~/Dropbox/.nano .nano | |
mv .nanorc ~/Dropbox/.nanorc | |
ln -s ~/Dropbox/.nanorc .nanorc | |
#vim | |
mv ~/.vim ~/Dropbox/.vim | |
ln -s ~/Dropbox/.vim/ ~/.vim | |
mv ~/.viminfo ~/Dropbox/.viminfo | |
ln -s ~/Dropbox/.viminfo ~/.viminfo | |
mv ~/.vimrc ~/Dropbox/.vimrc | |
ln -s ~/Dropbox/.vimrc ~/.vimrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment