Replies: 2 comments
-
I tried to reproduce this in #3908 but the scripts execute in the expected order, as documented. Can you give a short, reproducible example when chezmoi does not behave as you expect? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing due to inactivity. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How do you control in what order scripts are ran?
looking at https://www.chezmoi.io/user-guide/frequently-asked-questions/usage/#how-do-i-install-pre-requisites-for-templates
it is suggested that you can add numbers to the beginning of the script name after the run directives(after the
run_once_before
part for example )but I have the following scripts which I want ran before it starts copying any dot files
so I would except
00
to run first then01
and finally02
but the
02
script always runs first. I tried reversing the numbers in case02
is supposed to run before01
and00
but it still runs the02
script firstBeta Was this translation helpful? Give feedback.
All reactions