Tej's dotfiles for work at Theorem managed by dotbot.
Before bootstrapping a new Mac:
- Log in with an administrator account.
- Install the Xcode Command Line Tools with
xcode-select --installif they are not already available. - Install Homebrew.
- Clone this repository.
Then run the single installer:
git clone https://github.com/tchajed/dotfiles-theorem.git
cd dotfiles-theorem
./install./install checks the root Brewfile, installs any missing Homebrew formulae and applications, and only then links the configurations with Dotbot and applies macos/defaults.sh. It is safe to run again: Homebrew skips dependencies that are already installed and Dotbot relinks the managed files.
To check the Homebrew dependencies without installing anything, run:
brew bundle check --no-upgrade --file BrewfileKeep the formulae and casks in Brewfile sorted so changes remain easy to review.
macOS does not allow the installer to approve privacy and security prompts on your behalf. After ./install completes:
- Open Hammerspoon once.
- In System Settings → Privacy & Security → Accessibility, allow Hammerspoon.
- Reload its configuration from the Hammerspoon menu, or run
hs -c "hs.reload()".
- Open Karabiner-Elements once and follow its setup prompts.
- Approve its driver/system extension under System Settings → Privacy & Security when prompted.
- Grant its components Input Monitoring access when prompted.
- Confirm that the linked
~/.config/karabiner/karabiner.jsonconfiguration is active.
- Open 1Password, sign in, and authorize the Mac.
- In 1Password → Settings → Developer, enable integration with the 1Password CLI.
- Enable biometric unlock if you want
opCLI commands to authorize through the desktop app. - Enable the 1Password browser extension separately in each browser you use.
- Open Raycast, complete onboarding, and use the default
⌥ Spacehotkey (or change it in Raycast Settings → General). - Disable Spotlight's conflicting shortcut in System Settings → Keyboard → Keyboard Shortcuts → Spotlight if needed.
- Install Bear Notes from the Raycast Store and use Raycast's built-in Notes for quick notes.
- Use Raycast's built-in Calculator for unit conversions (for example,
10 km in miles); no separate extension is required. - In Raycast Settings → Extensions, assign aliases or hotkeys to Search Notes, Create Note, Notes, and Calculator as desired.
- Once Raycast is working, remove Alfred from Login Items if macOS retained it.
Install Bear from the Mac App Store. The Bear Notes extension may ask for permission to access Bear's notes database the first time it runs.