Guest User

Untitled

a guest
Jul 19th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. # Was asked how I keep my zshrc config sync'd between my computers with Google Drive
  2.  
  3. # Add a new directory in your Google Drive (or use an existing one)
  4. mkdir -p ~/Google\ Drive/Mac
  5. ln -s ~/Google\ Drive/Mac/.zshrc ~/.zshrc
  6.  
  7. # move existing file to Google Drive
  8. mv ~/.zshrc ~/Google\ Drive/Mac
  9.  
  10. # symlink file back to your local directory
  11. ln -s ~/Google\ Drive/Mac/.zshrc ~/.zshrc
Add Comment
Please, Sign In to add comment