Clone this repo in any folder, and then run the config scripts.
./configure_osx.shLink dotfiles to ~
./configure_dotfiles.sh./install_deps.sh./install_brew_formulas.shconfigure_dotfiles.sh symlinks .gitconfig, which already sets the excludes file,
editor, LFS filters and SSH commit signing. Two steps can't be version controlled:
1. Rebuild the allowed signers file. Derived from the SSH key, so it lives in
~/.ssh rather than in this repo. Without it commits still sign, but local
verification reports "No principal matched", which looks like broken signing.
printf '%s namespaces="git" %s\n' \
"$(git config --get user.email)" \
"$(awk '{print $1, $2}' ~/.ssh/id_ed25519.pub)" > ~/.ssh/allowed_signers2. Register the key as a signing key — an authentication key does not sign, so
the same public key must be uploaded a second time with type signing.
gh auth refresh -s admin:ssh_signing_key # default token scope is auth keys only
gh ssh-key add ~/.ssh/id_ed25519.pub --type signingFor GitLab, add the key at gitlab.com/-/user_settings/ssh_keys with usage type
Signing (or Authentication & Signing).
Verify with git log --show-signature -1 — expect G from git log --format=%G?.
scutil --set ComputerName "MACHINE-NAME"
scutil --set LocalHostName "MACHINE-NAME"
scutil --set HostName "MACHINE-NAME.local"Use the Homebrew bash, not /bin/bash. macOS ships bash 3.2.57, and
bash-completion@2 needs >= 4.1, so Apple's bash silently gets no completions.
sudo sh -c "echo $(brew --prefix)/bin/bash >> /etc/shells"
chsh -s "$(brew --prefix)/bin/bash"Just load the iTerm2Settings.json into Iterm2.
Just turn on the Settings Sync on VSCode with Github auth.
configure_dotfiles.sh symlinks claude/statusline-command.sh to ~/.claude/statusline-command.sh.
Then add this to ~/.claude/settings.json:
{
"statusLine": {
"type": "command",
"command": "bash ~/.claude/statusline-command.sh"
}
}It shows: model + effort level, git branch (with dirty marker), session usage (with time until reset), weekly usage, and context window fill. Requires jq.