Confusion about workflow with Chezmoi #2406
-
In Edit the source state from Quick Start, we find
as a daily routine to modify files that we added in This is unusual to me since I always used directly my editor to modify the file: Here is my workflow:
Am I missing something? Am I doing the wrong way, or didn't I understand |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There's nothing wrong with that workflow if it works for you. Note that if you are using templates and edit the file in the destination directory, Personally I navigate to the source directory in my editor (VSCode or Neovim), edit the files, then run |
Beta Was this translation helpful? Give feedback.
There's nothing wrong with that workflow if it works for you. Note that if you are using templates and edit the file in the destination directory,
chezmoi re-add
will not overwrite the templates.Personally I navigate to the source directory in my editor (VSCode or Neovim), edit the files, then run
chezmoi diff
and finallychezmoi apply
if I'm happy with the changes.