How to use .chezmoidata #4287
-
I am really confused about how to use this feature. I've read many docs and questions and I can't manage to use this. What I tried:
foo = bar
Can you help? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
You shouldn't use I suspect that |
Beta Was this translation helpful? Give feedback.
-
Ok, I've removed it from the source. Now I only have it in my home directory, but it is still not working. |
Beta Was this translation helpful? Give feedback.
-
Now for the next question. I want to use templates in my .chezmoidata.toml. So I renamed it to .chezmoidata.toml.tmpl But now it doesn't work anymore... |
Beta Was this translation helpful? Give feedback.
Templates aren't supported for
.chezmoidata
files. If you need templated data you need to add adata
section to your config template and add it there (note thedata.email
in the example).