Personal macOS dotfiles and bootstrap scripts.
The default setup is intentionally small:
Brewfileis the package and application inventory.setup-a-new-machine.shinstalls Xcode Command Line Tools, Homebrew, the Brewfile, and then links dotfiles.symlink-setup.shlinks only the explicit files listed in the script.docs/usage-audit.mdis generated byscripts/audit-command-usage.py.docs/usage-decisions.mdrecords the human decisions behind the cleanup.
Clone the repo, then run the bootstrap script:
git clone https://github.com/brianfryer/dotfiles.git ~/development/dotfiles
cd ~/development/dotfiles
./setup-a-new-machine.shOpen a new shell after the script finishes so login and interactive shell files are loaded from their symlinked locations.
Preview whether the current machine satisfies the Brewfile:
brew bundle check --file BrewfileInstall or update the Brewfile inventory:
brew bundle install --file BrewfileDo not run the install command casually. It changes the local machine by installing or updating formulae and applications.
Link committed dotfiles into $HOME:
./symlink-setup.shPreview link operations without changing files:
./symlink-setup.sh --dry-runThe script prompts before replacing a path that already exists and is not already the expected symlink.
Preview the reviewed user-level macOS defaults:
./macos-defaults.sh --dry-runApply them manually:
./macos-defaults.shThe macOS defaults script is intentionally separate from fresh-machine
bootstrap. It changes Finder, Dock, keyboard, browser, and screenshot behavior.
The legacy all-in-one .osx script is preserved at
archive/osx-legacy.sh for reference.
Regenerate the usage report:
./scripts/audit-command-usage.py > docs/usage-audit.mdThe audit reports command names only. It does not print raw shell-history lines or command arguments.