Bootstrapping chezmoi_modify_manager before chezmoi apply

If you use chezmoi_modify_manager together with chezmoi, there is one annoying bootstrap problem: chezmoi_modify_manager is needed while chezmoi apply computes file contents but the usual .chezmoiscripts/run_before_* hooks run too late to install it for the first apply I wanted a solution that was: automatic shell-based version-pinned rerun only when the installer script changes This post [ ]