mirror of
https://github.com/nikdoof/dotfiles.git
synced 2025-12-13 09:42:27 +00:00
[shell-common] Add Python user bin path on MacOS
This commit is contained in:
@@ -35,6 +35,9 @@ if [[ $(uname) == "Darwin" ]]; then
|
|||||||
# Stop golang progs having fun with Rosetta 2 (https://yaleman.org/post/2021/2021-01-01-apple-m1-terraform-and-golang/)
|
# Stop golang progs having fun with Rosetta 2 (https://yaleman.org/post/2021/2021-01-01-apple-m1-terraform-and-golang/)
|
||||||
export GODEBUG=asyncpreemptoff=1
|
export GODEBUG=asyncpreemptoff=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Python user bin folder
|
||||||
|
[ -d $HOME/Library/Python/3.9/bin ] && export PATH=$PATH:$HOME/Library/Python/3.9/bin
|
||||||
|
|
||||||
# Homebrew
|
# Homebrew
|
||||||
[ -d /opt/homebrew ] && eval $(/opt/homebrew/bin/brew shellenv)
|
[ -d /opt/homebrew ] && eval $(/opt/homebrew/bin/brew shellenv)
|
||||||
|
|||||||
Reference in New Issue
Block a user