My personal development environment configurations for macOS. Managed with stow and organized for quick bootstrapping on new machines.
git clone https://github.com/ThorstenHans/dotfiles.git ~/dotfiles
cd ~/dotfilesInstalls Homebrew (if missing) and all packages from the Brewfile.
./install-software.sh./install.shSafe to re-run at any time to ensure everything is correctly linked.
The Brewfile contains a list of all software installed via Homebrew (formulas, casks, ...). To update the Brewfile, run the following command:
brew bundle dump --force --describeTo prevent yourself from leaking sensitive data, I highly recommend running gitleaks as part of a pre-commit hook.
Create .git/hooks/pre-commit and ensure it is executable
#!/usr/bin/env bash
set -euo pipefail
gitleaks git --pre-commit --redact --staged --verbose