From c56ced348cc82ea3c347c15bcc451daa92da22e0 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Sun, 4 Jul 2021 13:31:18 +0100 Subject: [PATCH] [shell-common] Add Python user bin path on MacOS --- shell-common/.config/shell-common/exports.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shell-common/.config/shell-common/exports.sh b/shell-common/.config/shell-common/exports.sh index af2c431..38f67ea 100644 --- a/shell-common/.config/shell-common/exports.sh +++ b/shell-common/.config/shell-common/exports.sh @@ -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/) export GODEBUG=asyncpreemptoff=1 fi + + # Python user bin folder + [ -d $HOME/Library/Python/3.9/bin ] && export PATH=$PATH:$HOME/Library/Python/3.9/bin # Homebrew [ -d /opt/homebrew ] && eval $(/opt/homebrew/bin/brew shellenv)