Replies: 1 comment 1 reply
-
Where is You can get the source directory with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a bunch of configuration scripts inside
.chezmoiscripts
Let's say
I like to keep them separate for organizational purposes.
But some of the code inside is usually the same, so I extracted it into
configure_apps__helper.sh
and source it via
It seems though that chezmoi copies the template before executing it to a temporary file, which of course then doesn't contain the helper script.
Apart from hardcoding the path to the helper script is there another way sharing code between the scripts? Ideas?
Beta Was this translation helpful? Give feedback.
All reactions