Personal dotfiles for macOS. Zsh with oh-my-zsh, managed via symlinks to ~/.dotfiles.
Inspired by Mathias's dotfiles, Paul Irish's dotfiles, and Raúl Uranga's powerbook.
git clone https://github.com/gilbarbara/dotfiles.git ~/.dotfiles && cd ~/.dotfiles && ./installLaunches an interactive multi-select menu to choose which modules to install.
Modules: brew, claude, dotfiles, npm, oh_my_zsh, rubygems, structure, tools
Put machine-specific or secret config in ~/.extra (not tracked in git).
Set sensible macOS defaults on a fresh machine:
./.osx| File | Purpose |
|---|---|
Brewfile |
Homebrew packages, casks, Mac App Store apps |
NPMfile |
Global npm packages |
.zprofile |
Login shell setup (PATH, env vars) |
.zshrc |
Interactive shell (sources other configs) |
.oh-my-zsh-config |
Oh-my-zsh theme and plugins |
.aliases |
Command shortcuts |
.functions |
Shell functions |
.exports |
Environment variables |
.extra |
Private config (not in repo) |
Add to ~/.gnupg/gpg-agent.conf:
pinentry-program $(brew --prefix)/bin/pinentry-mac