Managed with GNU Stow.
brew install stow
sudo pacman -S stowFrom a brand-new Mac, open Terminal.app and run:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/woohp/dotfiles/main/bootstrap-macos.sh)"Or, if the repo is already cloned:
cd ~/dotfiles
./bootstrap-macos.shThis installs Homebrew if needed, clones or updates ~/dotfiles, installs packages from Brewfile, links dotfiles with Stow, and creates ~/.vim_swap. It does not apply macOS defaults or terminal database changes.
If the machine was previously set up with the old manual symlinks:
cd ~/dotfiles
git pull
./migrate.shThis removes only old symlinks that point into this dotfiles checkout, then dry-runs and applies Stow.
From the repo root:
stow --dotfiles --simulate --verbose zsh git ripgrep tmux starship nvim ghostty bat pi
stow --dotfiles --verbose zsh git ripgrep tmux starship nvim ghostty bat pistow --dotfiles -D zsh git ripgrep tmux starship nvim ghostty bat pitic terminal/xterm-256color.ti
mkdir -p ~/.vim_swapOn macOS:
defaults write -g ApplePressAndHoldEnabled -bool false