Replies: 2 comments 4 replies
-
I would be grateful if I could be given the opportunity to open a pull request. |
Beta Was this translation helpful? Give feedback.
3 replies
-
This is not correct. The source state is computed from the source directory, but they are not the same thing. Please read the section on concepts. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bad
Okay
The phrase
source state
may be replaced withsource directory
, just as the variablesourceDir
in configuration file.My solution example:
.chezmoi.$FORMAT.tmpl
This file should be placed in the source directory.
This file will be used by
chezmoi init
to create an initial config file. $FORMAT must be one of the supported config file formats, e.g. json, jsonc, toml, or yaml. Templates defined in .chezmoitemplates are not available because the template is executed before the source state is read.Beta Was this translation helpful? Give feedback.
All reactions