For pre-commit secret scanning, set up Gitleaks:
# install pre-commit and gitleaks
pipx install pre-commit
brew install gitleaks
# set up pre-commit hook
pre-commit installRun setup.sh
./setup.shOr run the scripts per demand
# Install basics, eg. git
./scripts/setup-basics.sh
# Clone config repo and setup
# Note: needs ssh set up if the repo is private
./scripts/setup-configs.sh
# MacOS preferences - dock, animations, toolbar, etc.
./scripts/setup-macos.shUses GNU Stow for dotfile management.
Using Homebrew
# Create Brewfile with installed packages
brew bundle dump --describe
# Install packages on a new machine
brew bundle --file=./Brewfile- macOS: scriptify switching ctrl & fn
- macOS: icloud sync
- repos: clone most important repos (eg. obsidian repos)
- zen configs
- scripts: ssh creation