Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/searls/icloud-dotfiles
My iCloud Drive-based dev environment
https://github.com/searls/icloud-dotfiles
Last synced: 12 days ago
JSON representation
My iCloud Drive-based dev environment
- Host: GitHub
- URL: https://github.com/searls/icloud-dotfiles
- Owner: searls
- Created: 2016-12-22T18:12:07.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-23T02:05:45.000Z (3 months ago)
- Last Synced: 2024-10-21T21:42:00.286Z (23 days ago)
- Language: Shell
- Size: 1.34 MB
- Stars: 205
- Watchers: 12
- Forks: 35
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 gracefullyHere's my [full routine for setting up a new Mac on YouTube](https://blog.testdouble.com/talks/2020-05-28-setting-up-a-new-mac-for-development/)
## 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](https://github.com/searls/icloud-dotfiles/blob/master/bin/setup-new-mac)):```
$ ~/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.