You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
462 B
19 lines
462 B
#!/bin/zsh |
|
|
|
if [[ "$OSTYPE" == linux-gnu* ]]; then |
|
export PATH="/usr/local/bin:$PATH" |
|
export PYENV_ROOT="$HOME/.pyenv" |
|
|
|
[[ -d "$PYENV_ROOT/bin" ]] && export PATH="$PYENV_ROOT/bin:$PATH" |
|
|
|
if command -v pyenv >/dev/null 2>&1; then |
|
eval "$(pyenv init -)" |
|
|
|
if pyenv commands | grep -qx "virtualenv-init"; then |
|
eval "$(pyenv virtualenv-init -)" |
|
fi |
|
fi |
|
fi |
|
|
|
# RVM configuration |
|
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
|
|
|