Closed CrystalMethod closed 1 year ago
I don't see an interpreters
section in your config file template. Is it possible that your config file is being overwritten when you run chezmoi init
?
Also, please do complete the bug report template completely when reporting a bug. Information like the output of chezmoi doctor
and the output of the command with the --verbose
flag helps everyone find the solution to your problem faster.
I apologize for disturbing you about this. The cause of my described problem was quite simple: I moved the dotfiles git repo to another location over time. but sourceDir
still pointed to the old location. There the new settings for interpreters
did not exist, which made it feel like my settings were lost. Correcting sourceDir
thus solved the problem and the interpreters
settings are applied correctly. Thank you!
Great! Glad that you found the solution :)
Describe the bug
I need to define an interpreter to get my shellscripts (.sh.tmpl) executed on Windows.
on Windows
.local/share/chezmoi/.chezmoi.yaml.tmpl
after running
chezmoi init
.config/chezmoi/chezmoi.yaml
and when running
chezmoi apply
the shellscripts result in error "..is not a valid Win32 application". As soon as I re-add these settings tochezmoi.yaml
the scripts will be executed.on Linux/WSL
.local/share/chezmoi/.chezmoi.yaml.tmpl
after running
chezmoi init
.config/chezmoi/chezmoi.yaml
the settings have been applied.
I'm somewhat lost. Did I miss something?