|
|
|
@ -1,6 +1,7 @@
|
|
|
|
|
#!/bin/zsh |
|
|
|
|
|
|
|
|
|
if [[ "$OSTYPE" == "linux-gnu" ]]; then |
|
|
|
|
if which pyenv > /dev/null; then |
|
|
|
|
export PATH=/usr/local/bin:$PATH |
|
|
|
|
export PYENV_ROOT="$HOME/.pyenv" |
|
|
|
|
export PATH="$PYENV_ROOT/bin:$PATH" |
|
|
|
@ -9,6 +10,7 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
|
|
|
|
|
eval "$(pyenv init -)" |
|
|
|
|
eval "$(pyenv virtualenv-init -)" |
|
|
|
|
fi |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
if which pyenv-virtualenv-init > /dev/null; then |
|
|
|
|
export PATH=/usr/local/bin:$PATH |
|
|
|
|