Closed ErrrorMaxx closed 8 months ago
Thanks for reporting this. The underlying problem is that replace
is a template function from github.com/masterminds/sprig and pretty much all the functions in masterminds/sprig are inflexible and broken. See #2668 for work on a replacement.
Describe the bug
I think this is a odd, but I can't directly do string operations on
.chezmoi.config.destDir
. While it looks like astring
, it is not allowed in string functions.I currently use
cat .chezmoi.config.destDir
as a workaroundTo reproduce
Expected behavior
No error should happen
Output of command with the
--verbose
flagOutput of
chezmoi doctor