From e2f526011936e46d273d64cea7cca343614ea8c2 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Wed, 17 Nov 2021 23:21:41 -0800 Subject: [PATCH] Update zshrc for homebrew in $HOME --- zshrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/zshrc b/zshrc index 7d0f3cc..56724e5 100755 --- a/zshrc +++ b/zshrc @@ -64,6 +64,13 @@ if mac; then if [[ -d /opt/homebrew/opt/openssl@1.1 ]]; then export RUBY_CONFIGURE_OPTS="--with-openssl-dir=/opt/homebrew/opt/openssl@1.1" fi + if [[ -d $HOME/homebrew/opt/openssl@1.1 ]]; then + export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$HOME/homebrew/opt/openssl@1.1" + fi + + if [[ -x $HOME/homebrew/bin/brew ]]; then + eval "$($HOME/homebrew/bin/brew shellenv)" + fi # Set Apple Terminal.app resume directory if [[ $TERM_PROGRAM == "Apple_Terminal" ]] && [[ -z "$INSIDE_EMACS" ]] {