macOS and UNIX configuration files
Instead of cloning the repo, use this one as a template by clicking here, and then customize to your needs.
clone the repo and all submodules
make
This will install Antidote, Homebrew, and GNU stow. It will then use stow to link all your dot files into your home directory.
CAUTION: You probably never want to type make. This entire set up is heavily customized for my usage. I've made it available so others can copy, modify, and then deploy it for themselves.
make now installs Homebrew if it is missing (macOS or Linux), then proceeds with Antidote, stow, and dotfiles. On Linux/WSL, launch agents are skipped. On Linux, Homebrew prerequisites are installed via apt-get.
Split by OS for portability:
misc/dot-config/homebrew/Brewfile.commonmisc/dot-config/homebrew/Brewfile.macmisc/dot-config/homebrew/Brewfile.linuxmisc/dot-config/homebrew/Brewfile(shim)
Recommended: set HOMEBREW_BUNDLE_FILE so brew bundle works anywhere (already wired in shells).
Example:
brew bundle
Auto-selects OS via shim at:
~/.config/homebrew/Brewfile
Manual:
brew bundle --file misc/dot-config/homebrew/Brewfile.common
brew bundle --file misc/dot-config/homebrew/Brewfile.mac
brew bundle --file misc/dot-config/homebrew/Brewfile.linux
Example (auto-selects OS when run in that directory):
cd misc/dot-config/homebrew && brew bundle
For system packages on Ubuntu/WSL, see:
misc/dot-config/homebrew/apt.txt
To keep this portable across machines/users, put user-specific settings in local files that are not tracked:
~/.config/dotfiles/local.zsh(zsh overrides)~/.config/dotfiles/local.fish(fish overrides)~/.gitconfig.local(git identity, per-user settings)
Create the local files from templates:
install_scripts/bootstrap-local.sh
Templates live at:
misc/dot-config/dotfiles/local.zsh.examplemisc/dot-config/dotfiles/local.fish.examplegit/dot-gitconfig.local.example
Quick check for required/optional tools:
misc/scripts/dotfiles-healthcheck
Copyright (c) Nobody, No rights reserved.