8000 GitHub - searls/icloud-dotfiles: My iCloud Drive-based dev environment
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

searls/icloud-dotfiles

Repository files navigation

icloud-dotfiles

Having been burned a few times by different dotfiles strategies, I decided to just roll my own. Feel free to copy this if you're so inclined.

The basic gist of this:

  1. Store dotfiles in iCloud Drive
  2. Have a script that symlinks iCloud drive & dotfiles to my home directory and installs (or updates) the programs I use, such that it can be re-run gracefully

Here's my full routine for setting up a new Mac on YouTube

Setup

1. Fetch the dotfiles and throw them in iCloud Drive

Fork this repo and clone it into your iCloud Drive as "dotfiles" like so:

$ git clone --recursive https://github.com/searls/icloud-dotfiles.git "~/Library/Mobile Documents/com~apple~CloudDocs/dotfiles"

2. Run the setup script

Now, run the initial setup script (which you can review here):

$ ~/Library/Mobile\ Documents/com~apple~CloudDocs/dotfiles/bin/setup-new-mac

In my case, this sets up my symlinks, installs/updates my brew formulas, sets up Node & Ruby and then sources my bash profile.

About

My iCloud Drive-based dev environment

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
0