My personal dotfiles, managed with GNU Stow.
Homebrew bundle files and install scripts are included also.
When get a new MacBook, first thing to do is setup ssh for GitHub. Let's follow GitHub official instruction:
Sensitive data are saved into separate config files, which need to be added manually. Note since these credential configs will be imported in main configs, this step should be done before running install scripts.
export github_user=<user>
export HOMEBREW_GITHUB_API_TOKEN=<token>
export OPENAI_API_KEY=<key>
[github]
user = <user>
token = <token>
Now open Terminal app and execute:
git clone https://github.com/cades/dotfiles.git ~/.dotfiles
cd .dotfiles
./scripts/1-setup-brew.sh
./scripts/2-install-dotfiles.sh
Note that you may be asked for password several times during this process.
cd .dotfiles
./scripts/3-zsh.sh
./scripts/4-emacs.sh
./scripts/5-tmux.sh