Add Homebrew's Python bin dir to PATH
This commit is contained in:
parent
529f18371b
commit
d9bd83d62a
1 changed files with 8 additions and 1 deletions
9
zshrc
9
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue