Skip to content

Commit 1afd009

Browse files
authored
fix: run install from brewfile more earlier
1 parent 60209d0 commit 1afd009

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

run_once_before_install-packages-darwin.sh.tmpl

+6-7
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ else
1818
brew update
1919
fi
2020

21+
echo 'Install brew packages'
22+
echo '------------'
23+
brew tap homebrew/bundle
24+
brew bundle --no-lock --file="$(chezmoi source-path)/Brewfile"
25+
brew link --force libpq
26+
2127
echo 'Install oh-my-zsh'
2228
echo '-----------------'
2329
if [ ! -d "$HOME/.oh-my-zsh" ]; then
@@ -30,12 +36,6 @@ echo '------------'
3036
ZSH_CUSTOM="$HOME/.oh-my-zsh/custom"
3137
mkdir -p "$ZSH_CUSTOM/plugins"
3238

33-
echo 'Install brew packages'
34-
echo '------------'
35-
brew tap homebrew/bundle
36-
brew bundle --no-lock --file="$(chezmoi source-path)/Brewfile"
37-
brew link --force libpq
38-
3939
echo 'Finalize fzf install'
4040
echo '------------'
4141
"$(brew --prefix)/opt/fzf/install" --all --no-update-rc
@@ -48,7 +48,6 @@ else
4848
pre-commit init-templatedir ~/.git-template
4949
fi
5050

51-
5251
echo 'Install node version manager (nvm)'
5352
echo '-----------'
5453
if [ ! -d "$NVM_DIR" ]; then

0 commit comments

Comments
 (0)