Skip to content

Commit 60209d0

Browse files
authored
fix: add fix for chezmoi for first installs
1 parent f80aa3e commit 60209d0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

run_once_before_install-packages-darwin.sh.tmpl

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
# Hide "last login" line when starting a new terminal session
55
touch "$HOME/.hushlogin"
66

7+
# For first installs create a alias to make chezmoi available
8+
if ! command -v chezmoi &> /dev/null; then
9+
alias chezmoi='./bin/chezmoi'
10+
fi
11+
712
echo 'Check for Homebrew and install if we don''t have it'
813
echo '----------------'
914
if ! command -v brew &>/dev/null; then

0 commit comments

Comments
 (0)