Skip to content

Instantly share code, notes, and snippets.

@noma4i
Forked from erwanjegouzo/gist:5903791
Created May 14, 2014 03:14
Show Gist options
  • Select an option

  • Save noma4i/33724086b1d226ba20cb to your computer and use it in GitHub Desktop.

Select an option

Save noma4i/33724086b1d226ba20cb to your computer and use it in GitHub Desktop.
#DROPBOX SYNCING
#==============
# bash_profile
rm -rf .bash_profile
ln -s ~/Dropbox/.bash_profile .bash_profile
# Sublime 2 Preferences
cd ~/Library/Application\ Support/Sublime\ Text\ 2/
ln -s ~/Dropbox/appdata/sublime/Installed\ Packages ./Installed\ Packages
ln -s ~/Dropbox/appdata/sublime/Packages ./Packages
ln -s ~/Dropbox/appdata/sublime/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment