From f76864f214b13491a8b8b671d30c0db6527e98af Mon Sep 17 00:00:00 2001 From: Oliver Kaufmann <4414498+okaufmann@users.noreply.github.com> Date: Sat, 23 Mar 2024 23:43:37 +0100 Subject: [PATCH] fix: try another way to fix chezmoi command for first installs --- run_once_before_install-packages-darwin.sh.tmpl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run_once_before_install-packages-darwin.sh.tmpl b/run_once_before_install-packages-darwin.sh.tmpl index 0a98db0..565e6c2 100644 --- a/run_once_before_install-packages-darwin.sh.tmpl +++ b/run_once_before_install-packages-darwin.sh.tmpl @@ -6,7 +6,9 @@ touch "$HOME/.hushlogin" # For first installs create a alias to make chezmoi available if ! command -v chezmoi &> /dev/null; then - alias chezmoi='./bin/chezmoi' + chezmoi='./bin/chezmoi' +else + chezmoi='chezmoi' fi echo 'Check for Homebrew and install if we don''t have it'