From d9bd83d62a64203afe97f0a1b48178c97c573827 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Sat, 2 Jul 2022 10:32:37 -0700 Subject: [PATCH] Add Homebrew's Python bin dir to PATH --- zshrc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/zshrc b/zshrc index 9098f6d..f566e57 100755 --- a/zshrc +++ b/zshrc @@ -39,7 +39,14 @@ fi ### Environment Vars # =================== -custom_paths=(/sbin /usr/sbin /Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin /usr/local/bin /usr/local/sbin $HOME/go/bin $HOME/bin) +custom_paths=( + /sbin /usr/sbin + /Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin + /usr/local/bin /usr/local/sbin + $HOME/homebrew/Cellar/python@3.9/3.9.12/Frameworks/Python.framework/Versions/3.9/bin + $HOME/go/bin + $HOME/bin +) for dir in $custom_paths; do if [[ -d "$dir" ]]; then path=($dir $path)