Skip to content

Show execution order of scripts #3491

Answered by twpayne
2-4601 asked this question in Q&A
Jan 17, 2024 · 2 comments · 8 replies
Discussion options

You must be logged in to vote

Thanks for following up here - this is really helpful to people who have this problem in the future!

  1. Create a new "empty" chezmoistate.boltdb file (read the full thread to see why it is needed):

This is not needed. Using a non-existent state file is sufficient. chezmoi will create the state file. The problem with using an empty state file is that an empty file is not a valid BoltDB database.

You can use:

$ chezmoi status --persistent-state=$(mktemp -d)/chezmoistate.boltdb --include=scripts

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
7 replies
@2-4601
Comment options

@Lockszmith-GH
Comment options

@2-4601
Comment options

@2-4601
Comment options

@Lockszmith-GH
Comment options

Comment options

You must be logged in to vote
1 reply
@2-4601
Comment options

Answer selected by 2-4601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants