Skip to content

Instantly share code, notes, and snippets.

View wrick17's full-sized avatar
🎯
Focusing

Pratyush Poddar wrick17

🎯
Focusing
View GitHub Profile
@wrick17
wrick17 / ohmyzsh-google-drive-sync.sh
Last active July 19, 2018 08:41 — forked from robbyrussell/ohmyzsh-dropbox-sync.sh
Keep your @ohmyzsh ~/.zshrc in sync via Google Drive
# Was asked how I keep my zshrc config sync'd between my computers with Google Drive
# Add a new directory in your Google Drive (or use an existing one)
mkdir -p ~/Google\ Drive/Mac
ln -s ~/Google\ Drive/Mac/.zshrc ~/.zshrc
# move existing file to Google Drive
mv ~/.zshrc ~/Google\ Drive/Mac
# symlink file back to your local directory