Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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
- ln -s ~/Google\ Drive/Mac/.zshrc ~/.zshrc
Add Comment
Please, Sign In to add comment