I have hooks in a number of my configs to allow for local only changes, such as ~/.zshrc.local and ~/.gitconfig.local., but this means they're hidden from the dotfiles by design, so it'd be nice to have a way to see them on demand, in case any contain anything which is a candidate to fold into managed dotfiles, and also to ensure I don't forget they exist and are impacting my tool behavior.
Adding these to chezmoi-diff-managed as comparisons vs /dev/null` could be a viable way to expose them as additional types of "local system state that differs from managed dotfiles".
Related:
I have hooks in a number of my configs to allow for local only changes, such as
~/.zshrc.localand~/.gitconfig.local., but this means they're hidden from the dotfiles by design, so it'd be nice to have a way to see them on demand, in case any contain anything which is a candidate to fold into managed dotfiles, and also to ensure I don't forget they exist and are impacting my tool behavior.Adding these to
chezmoi-diff-managed as comparisons vs/dev/null` could be a viable way to expose them as additional types of "local system state that differs from managed dotfiles".Related:
chezmoi-diff-managedchezmoi unmanaged