Skip to content

function "promptStringOnce" not defined #2260

Answered by twpayne
papanito asked this question in Q&A
Discussion options

You must be logged in to vote

This is by design. Some functions are only available when generating the initial config file. This is because you don't want to be prompted every time chezmoi executes a template (e.g. which happens when you run any of the apply, diff, or status commands, amongst others).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@papanito
Comment options

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