Host-portable dot files for macOS.
- Fork this repo
- Clone your forked repo into your home directory without checking it out:
git clone --no-checkout https://github.com/ecliptical/dotfiles.git
- In ~/dotfiles, point git to your home directory:
git config core.worktree "../../"
- Point your home directory back to git:
echo "gitdir: $HOME/dotfiles/.git" >> ~/.git
- Actually checkout the files:
git reset --hard origin/master
- Add your custom *.sh files to ~/.bashrc.d, commit, and push