Migrating from GNU Stow to Chezmoi
7 hours ago
- #dotfiles
- #chezmoi
- #automation
- User migrated from GNU stow to chezmoi for dotfile management due to difficulties managing symlinks across multiple Mac machines.
- Chezmoi uses a source directory (~/.local/share/chezmoi) as a git repo, storing files with prefixes like dot_ for dotfiles and allowing attributes like private_ for permissions.
- Bootstrapping a new machine involves installing Homebrew, then running 'chezmoi init --apply' with the dotfiles repo URL, which clones and applies tracked files automatically.
- Day-to-day workflow includes commands like 'chezmoi edit --apply' for edits, 'chezmoi add' to import changes, and 'chezmoi update' to sync across machines.
- Chezmoi tracks dotfiles, agent skills (for LLMs like Claude Code and Codex), and uses scripts for automated setup tasks like installing Homebrew packages and configuring macOS settings.