Personal dotfiles for macOS (Apple Silicon).
| Directory | Contents |
|---|---|
zsh/ |
Zsh config with zinit, fzf (with fd), zoxide, atuin history |
git/ |
Git config with SSH signing (1Password), delta pager, trunk-based defaults |
starship/ |
Custom two-line prompt (directory, git, nodejs, docker, duration) |
ghostty/ |
Ghostty terminal config (Catppuccin Macchiato, Monaspice Nerd Font) |
atuin/ |
Atuin shell history config (daemon, directory-scoped up-arrow) |
claude/ |
Claude Code global settings, rules, skills, and hooks |
homebrew/ |
Brewfile with formulas, casks, and fonts |
mkdir -p ~/Developer
git clone git@github.com:agnlez/dotfiles.git ~/Developer/dotfiles
cd ~/Developer/dotfiles
./install.shThe install script will:
- Install Xcode Command Line Tools (if missing)
- Install Homebrew (if missing)
- Install all packages from the Brewfile
- Install Claude Code via the native installer (self-contained, auto-updating)
- Symlink config files to their expected locations
- Back up any existing files to
~/.dotfiles-backup/
install.sh creates ~/.gitconfig.local from git/.gitconfig.local.example on first run. Edit it with your name, email, and SSH signing key path. It's loaded via [include] and overrides the tracked gitconfig, so machine-specific values (e.g. a non-default 1Password path) belong here too.
- Sign into 1Password and enable the SSH agent
- Add your SSH key to 1Password and register the public key on GitHub as both an authentication key and a signing key
- The gitconfig uses
op-ssh-signat the default macOS path (/Applications/1Password.app/...) — override in~/.gitconfig.localunder[gpg "ssh"]if installed elsewhere
Sign into the rest (Slack, Discord, Spotify, etc.)