Skip to content

Repository files navigation

dotfiles

Managed with GNU Stow.

Install

brew install stow
sudo pacman -S stow

Fresh macOS setup

From 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.sh

This 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.

Migrate an existing pre-Stow machine

If the machine was previously set up with the old manual symlinks:

cd ~/dotfiles
git pull
./migrate.sh

This removes only old symlinks that point into this dotfiles checkout, then dry-runs and applies Stow.

Link dotfiles manually

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 pi

Unlink dotfiles

stow --dotfiles -D zsh git ripgrep tmux starship nvim ghostty bat pi

Optional setup

tic terminal/xterm-256color.ti
mkdir -p ~/.vim_swap

On macOS:

defaults write -g ApplePressAndHoldEnabled -bool false

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages