Replies: 2 comments 3 replies
-
There are likely several things wrong here:
tl;dr Replace
with
and add |
Beta Was this translation helpful? Give feedback.
1 reply
-
I recently posted #4415 where I describe my bootstrap chezmoi approach to this particular issue of setting up before properly initializaing. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to create a run_once_before script which installs brew, ansible, and sets up additional items such as my git directories and ssh.
To help keep the codebase maintainable, I decided to add the logic for installing brew in a seperate script called
install_brew.sh
and reference it inside myrun_once_before_setup.sh
script.When I try to run the
chezmoi apply
command, I get an error indicating that theinstall_brew.sh
is not a script.I am not sure what is going on since I have the script setup correctly as executable.
Here is what
run_once_before_setup.sh
looks likeAnd this is the
install_brew.sh
scriptBeta Was this translation helpful? Give feedback.
All reactions