Closed agingorange closed 1 year ago
Put the following in
~/.config/chezmoi/chezmoi.toml
as described in the manual:
That isn't what is described in the manual:
Put the following in your configuration file template:
You are using template syntax outside of a template.
https://www.chezmoi.io/reference/special-files-and-directories/chezmoi-format-tmpl/
https://www.chezmoi.io/user-guide/setup/#create-a-config-file-on-a-new-machine-automatically https://www.chezmoi.io/user-guide/setup/#re-create-your-config-file
Oh, wow, that's selective reading for ya. Thanks for pointing me to my error.
Describe the bug
In the documentation there is an example on how to Combine operating system and Linux distribution conditionals. The code posted returns an error.
To reproduce
Put the following in
~/.config/chezmoi/chezmoi.toml
as described in the manual:Running a chezmoi command returns the following:
Expected behavior
A working template variable.
Output of command with the
--verbose
flagSame as above.
Output of
chezmoi doctor