Skip to content

Instantly share code, notes, and snippets.

@kamui
Created August 21, 2010 02:18
Show Gist options
  • Save kamui/541637 to your computer and use it in GitHub Desktop.
Save kamui/541637 to your computer and use it in GitHub Desktop.
Mac use Dropbox Application Support
cd ~
rm -f .profile
ln -s ~/Dropbox/dotfiles/.profile .profile
rm -f .profile
ln -s ~/Dropbox/dotfiles/.zshrc .zshrc
rm -f .gitconfig
ln -s ~/Dropbox/dotfiles/.gitconfig .gitconfig
rm -f .gitignore
ln -s ~/Dropbox/dotfiles/.gitignore .gitignore
rm -f .viminfo
ln -s ~/Dropbox/dotfiles/.viminfo .viminfo
rm -f .irbrc
ln -s ~/Dropbox/dotfiles/.irbrc .irbrc
rm -f .editrc
ln -s ~/Dropbox/dotfiles/.editrc .editrc
rm -f .profile
ln -s ~/Dropbox/dotfiles/.profile .profile
cd ~/Library/
rm -rf KeyBindings
ln -s ~/Dropbox/Library/KeyBindings KeyBindings
rm -rf Calendars
ln -s ~/Dropbox/Library/Calendars Calendars
rm -rf Keychains
ln -s ~/Dropbox/Library/Keychains Keychains
cd ~/Library/Application\ Support/
rm -rf Adium\ 2.0
ln -s ~/Dropbox/Library/Application\ Support/Adium\ 2.0 Adium\ 2.0
rm -rf TextMate
ln -s ~/Dropbox/Library/Application\ Support/TextMate TextMate
rm -rf Cyberduck
ln -s ~/Dropbox/Library/Application\ Support/Cyberduck Cyberduck
rm -rf AddressBook
ln -s ~/Dropbox/Library/Application\ Support/AddressBook AddressBook
rm -rf SIMBL
ln -s ~/Dropbox/Library/Application\ Support/SIMBL SIMBL
rm -rf Firefox/Profiles
rm -f Firefox/profiles.ini
mkdir -p ~/Dropbox/Library/Application\ Support/Firefox/
ln -s ~/Dropbox/Library/Application\ Support/Firefox/profiles.ini Firefox/profiles.ini
ln -s ~/Dropbox/Library/Application\ Support/Firefox/Profiles Firefox/Profiles
rm -rf Growl/Plugins
mkdir -p ~/Dropbox/Library/Application\ Support/Growl/
ln -s ~/Dropbox/Library/Application\ Support/Growl/Plugins Growl/Plugins
rm -rf Quicksilver
ln -s ~/Dropbox/Library/Application\ Support/Quicksilver Quicksilver
rm -rf Propane
ln -s ~/Dropbox/Library/Application\ Support/Propane Propane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment