From fe0639695fdf6794e4b07410680c77fe1323f7b3 Mon Sep 17 00:00:00 2001 From: Arron Green Date: Fri, 25 Feb 2022 11:11:32 -0500 Subject: [PATCH] fix brew not in path --- profile.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/profile.sh b/profile.sh index e86abe2..1f9a53b 100644 --- a/profile.sh +++ b/profile.sh @@ -22,6 +22,13 @@ export COLOR_BLUE='\[\033[34m\]' export COLOR_CYAN='\[\033[36m\]' export EDITOR=$(command -v vim) +if [[ -d /opt/homebrew/bin ]]; then + export PATH="/opt/homebrew/bin:$PATH" +fi +if [[ -d /opt/homebrew/sbin ]]; then + export PATH="/opt/homebrew/sbin:$PATH" +fi + function echo-err() { printf "%s\n" "$*" >&2; }