Created
February 8, 2012 15:20
-
-
Save robbyrussell/1770397 to your computer and use it in GitHub Desktop.
Keep your @ohmyzsh ~/.zshrc in sync via dropbox
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
# 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
This is great. For those with computers with different usernames, I had to change the zsh library pointing to be dynamic:
export ZSH="/Users/$USER/.oh-my-zsh"