From f65628a82837f1856eb95d5ddae28b42963f226b Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Wed, 18 Jul 2018 00:17:40 +0200 Subject: [PATCH] Add python bin dirs on macOS to PATH. --- home/dotfiles/zshrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/home/dotfiles/zshrc b/home/dotfiles/zshrc index 48fdb58..bbe2ef3 100644 --- a/home/dotfiles/zshrc +++ b/home/dotfiles/zshrc @@ -45,6 +45,18 @@ log() { fi } +# Bin directories +section "python bin" +if [ -d "$HOME/Library/Python/3.7" ]; then + PATH="$HOME/Library/Python/3.7/bin:$PATH" + export PATH +fi +if [ -d "$HOME/Library/Python/2.7" ]; then + PATH="$HOME/Library/Python/2.7/bin:$PATH" + export PATH +fi +section_end + # Powerline section "powerline" if [ $ZSH_POWERLINE -gt 0 ]; then