From 24377d5efdbf50f0c781a8c4fc344f2acbde18e6 Mon Sep 17 00:00:00 2001 From: Caleb Braaten Date: Mon, 14 Jul 2025 04:09:14 -0700 Subject: [PATCH] Load packages first for later commands --- zsh/.zshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 0e7b080..465c082 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,3 +1,6 @@ +# ---- Homebrew ---- +eval "$(/opt/homebrew/bin/brew shellenv)" + # ---- Version Managers ---- export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm @@ -42,9 +45,6 @@ fi # ---- Zoxide (better cd) ---- eval "$(zoxide init zsh)" -# ---- Homebrew ---- -eval "$(/opt/homebrew/bin/brew shellenv)" - # ---- ZSH Plugins ---- source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh