oh-my-bash/plugins/pyenv/pyenv.plugin.sh
2022-01-15 19:00:35 +09:00

10 lines
204 B
Bash

#! bash oh-my-bash.module
# @chopnico 2021
if [ -d ~/.pyenv ]; then
export PYENV_ROOT=~/.pyenv
export PATH=$PYENV_ROOT/bin${PATH:+:$PATH}
eval -- "$(pyenv init --path)"
eval -- "$(pyenv init -)"
fi