Skip to content

Commit

Permalink
fix: use template variable for source dir
Browse files Browse the repository at this point in the history
  • Loading branch information
okaufmann authored Mar 23, 2024
1 parent f76864f commit 36ab893
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run_once_before_install-packages-darwin.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fi
echo 'Install brew packages'
echo '------------'
brew tap homebrew/bundle
brew bundle --no-lock --file="$(chezmoi source-path)/Brewfile"
brew bundle --no-lock --file="{{ .chezmoi.sourceDir }}/Brewfile"
brew link --force libpq

echo 'Install oh-my-zsh'
Expand All @@ -45,7 +45,7 @@ echo '------------'
echo 'Initiate pre-commit.'
echo '------------'
if [ -d "~/git-template" ]; then
echo -e "\033[33mThe folder '$(chezmoi source-path)/git-template' already exists.\033[0m"^
echo -e "\033[33mThe folder '{{ .chezmoi.sourceDir }}/git-template' already exists.\033[0m"^
else
pre-commit init-templatedir ~/.git-template
fi
Expand Down

0 comments on commit 36ab893

Please sign in to comment.