Do a rehash after update

Since shims and/or their necessary set might've changed

Closes https://github.com/pyenv/pyenv-update/issues/15
This commit is contained in:
Ivan Pozdeev
2022-09-16 02:35:05 +03:00
parent b46df06b06
commit 810db7865a

View File

@@ -87,4 +87,6 @@ for repo in "${PYENV_ROOT}" "${PYENV_ROOT}/plugins/"*; do
done
shopt -u nullglob
pyenv rehash || STATUS="$?"
exit "$STATUS"