-
When an error is encountered when executing a template function, the final error message is printed as a hexadecimal string, not the error message, for example:
chezmoi: template: /home/twp/.lo…
-
## Is your feature request related to a problem? Please describe.
My use case is similiar to #1169, but less complex. I have only two repos I want to manage with chezmoi: my private dotfiles and wo…
-
Problem: no file starting with create_ is being processed as a template.
Example: create a file named "create_dumb.tmpl" with contents
```
{{ .chezmoi.os }}
```
then run `chezmoi apply -nv`. The …
-
## Is your feature request related to a problem? Please describe.
Would like to get source filename to use in a template:
```
# This file is managed by chezmoi. Do not edit! Instead use {{ .che…
ghost updated
2 years ago
-
## Describe the bug
When using a `symlink_xxxx.tmpl` file to auto-create a symbolic link, any newline characters are included in the resulting target name. The link then ends up pointing to a non-e…
-
## What exactly are you trying to do?
When I used `chezmoi execute-template`, `.chezmoiexternal.yaml` was calculated as a template
For example, if I have network calls in my `.chezmoiexternal.yaml…
-
## Describe the bug
I'm trying to use the templating functionality in v2.1.6 however keep getting hit with this error:
```
chezmoi: template: private_dot_config/tests/executable_template.sh.tmp…
-
## What exactly are you trying to do?
I'm trying to create a templated script that injects secrets before running. For some reason, it appears that chezmoi's normal `data` variables aren't available.…
-
## What exactly are you trying to do?
I am trying to use helpers in the template files, like `if chezmoi.os.pathExists?(chezmoi.home.joinpath('.pyenv')`, to dynamically generate `.bash_profile`.
Des…
-
## Problem
Since https://github.com/twpayne/chezmoi/pull/1033, we are able to use something like the following in our templates:
```
{{- $email := get . "email" -}}
{{- if not $email -}}
{{- …