Add python bin dirs on macOS to PATH.

master
Icedream 2018-07-18 00:17:40 +02:00
parent 003a0bca3e
commit f65628a828
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 12 additions and 0 deletions

View File

@ -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