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.
17 lines
441 B
17 lines
441 B
#!/bin/zsh |
|
|
|
if [[ "$OSTYPE" == "linux-gnu" ]]; then |
|
export PATH="$HOME/.pyenv/bin:$PATH" |
|
|
|
# For whatever reason the linux version of pyenv doesnt install `pyenv-virtualenv-init`. |
|
eval "$(pyenv init -)" |
|
eval "$(pyenv virtualenv-init -)" |
|
fi |
|
|
|
if which pyenv-virtualenv-init > /dev/null; then |
|
eval "$(pyenv init -)" |
|
eval "$(pyenv virtualenv-init -)" |
|
fi |
|
|
|
# RVM configuration |
|
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
|
|
|