-
-
Save stevenfollis/83cf9de017a03b3a651802971d41b6f8 to your computer and use it in GitHub Desktop.
Keep your @ohmyzsh ~/.zshrc in sync via OneDrive
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 OneDrive | |
# Add a new directory in your OneDrive (or use an existing one) | |
mkdir -p ~/OneDrive/ohmyzsh | |
# move existing file to Dropbox | |
mv ~/.zshrc ~/OneDrive/ohmyzsh/zshrc | |
# symlink file back to your local directory | |
ln -s /mnt/c/Users/steve/OneDrive/ohmyzsh/zshrc ~/.zshrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment