From 925234beba4e2bc15b45e7c8f620173b457c603e Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Tue, 28 May 2024 13:30:12 -0400 Subject: [PATCH] Auto-load Homebrew if possible --- configs/.zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/.zshrc b/configs/.zshrc index a979ee3..3d5a881 100644 --- a/configs/.zshrc +++ b/configs/.zshrc @@ -245,3 +245,4 @@ export SDKMAN_DIR="$HOME/.sdkman" [[ -s "$SDKMAN_DIR/bin/sdkman-init.sh" ]] && source "$SDKMAN_DIR/bin/sdkman-init.sh" [[ -s "$HOME/pkg/flutter/bin" ]] && export PATH="$HOME/pkg/flutter/bin:$PATH" [[ -s "$HOME/.rye/env" ]] && source "$HOME/.rye/env" +[[ -s "/opt/homebrew/bin/brew" ]] && eval "$(/opt/homebrew/bin/brew shellenv)"