Skip to content

Instantly share code, notes, and snippets.

@kurtschlatzer
Forked from robbyrussell/ohmyzsh-dropbox-sync.sh
Last active August 29, 2015 14:24
Show Gist options
  • Save kurtschlatzer/e8fa2b73c6cc307d5f20 to your computer and use it in GitHub Desktop.
Save kurtschlatzer/e8fa2b73c6cc307d5f20 to your computer and use it in GitHub Desktop.
# Was asked how I keep my zshrc config sync'd between my computers with Dropbox
# Add a new directory in your Dropbox (or use an existing one)
mkdir -p ~/Dropbox/ohmyzsh
# move existing file to Dropbox
mv ~/.zshrc ~/Dropbox/ohmyzsh/zshrc
# symlink file back to your local directory
ln -s ~/Dropbox/ohmyzsh/zshrc ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment