Skip to content

Instantly share code, notes, and snippets.

@stevenfollis
Forked from robbyrussell/ohmyzsh-dropbox-sync.sh
Last active April 3, 2020 13:29
Show Gist options
  • Save stevenfollis/83cf9de017a03b3a651802971d41b6f8 to your computer and use it in GitHub Desktop.
Save stevenfollis/83cf9de017a03b3a651802971d41b6f8 to your computer and use it in GitHub Desktop.
Keep your @ohmyzsh ~/.zshrc in sync via OneDrive
# 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