plugins/{goenv,pyenv}: Add cosmetic changes

This commit is contained in:
Koichi Murase
2021-12-24 22:00:56 +09:00
parent cd6500d280
commit dde7ea6395
2 changed files with 11 additions and 11 deletions

View File

@@ -1,8 +1,8 @@
# @chopnico 2021
if [ -d "$HOME/.pyenv" ]; then
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
if [ -d ~/.pyenv ]; then
export PYENV_ROOT=~/.pyenv
export PATH=$PYENV_ROOT/bin${PATH:+:$PATH}
eval -- "$(pyenv init --path)"
eval -- "$(pyenv init -)"
fi