How I'm doing dotfiles.
Source: docs/dotfiles-architecture.tldraw — open with tldraw offline.
git clone https://github.com/program247365/dotfiles.git ~/.dotfiles
cd~/.dotfiles
script/bootstrap~/.dotfiles/bin/dot
The /migrations folder contains dated scripts for handling configuration changes and updates when setting up on new machines or after major changes.
Migration scripts are named with the format: YYYY-MM-DD-description.zsh
Migrations are automatically run when you use the dot command. You can also run them manually:
# Run a specific migration~/.dotfiles/migrations/2025-08-20-lazyvim-setup.zsh
# Run all migrations (done automatically by dot command)forscriptin~/.dotfiles/migrations/*.zsh;doecho"Running migration: $(basename "$script")""$script"done