macOS development environment setup.
git clone https://github.com/mattnguyen/dotfiles.git ~/code/dotfiles
cd ~/code/dotfiles
./install.sh./install.sh --upgrademkdir packages/mypkg- Copy config files into
packages/mypkg/ - Write
packages/mypkg/symlinks.conf:myconfig -> $HOME/.config/mypkg/myconfig - Optionally add
packages/mypkg/install.shfor post-install steps - Add the brew formula or cask to
Brewfile
Create ~/.zshrc.local for machine or work-specific exports (lives outside this repo):
export VAULT_ADDR="https://vault.example.com:8200"
export DOCKER_HOST="..."
export PATH="/opt/homebrew/opt/postgresql@18/bin:$PATH".zshrc sources this file automatically if it exists.
packages/git/gitconfig ships with placeholder values and includes ~/.gitconfig.local.
Create ~/.gitconfig.local on each machine with your real identity:
[user]
name = Your Name
email = you@example.comCreate ~/.config/nvim/lua/local/ for machine-specific overrides (gitignored).
DBUI configuration goes in ~/.config/nvim/lua/local/dbui.lua.
General overrides go in ~/.config/nvim/lua/local/init.lua (loaded via pcall(require, 'local')).