What problem does it solve?
This Skill ensures that when you need to edit configuration files (dotfiles), you are always modifying the source files managed by chezmoi, rather than potentially outdated copies in your home directory. This prevents configuration drift and ensures consistency across your environment.
Core Features & Use Cases
- Prioritizes chezmoi: Automatically directs edits to files within
~/.local/share/chezmoi/ instead of directly in the home directory.
- Path Mapping: Understands and translates common home directory paths to their chezmoi equivalents (e.g.,
~/.zshrc to ~/.local/share/chezmoi/dot_zshrc).
- Zsh Alias/Function Handling: Provides guidance on how to add new aliases or functions to Zsh configurations.
- Ensures
chezmoi apply: Reminds the user to apply changes after editing.
Quick Start
Edit the .zshrc file using the edit-dotfile skill.