We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f3bc68 commit 02f0bbeCopy full SHA for 02f0bbe
bin/pyenv-virtualenv-prefix
@@ -50,6 +50,8 @@ for version in "${versions[@]}"; do
50
exit 1
51
fi
52
PYENV_PREFIX_PATH="$(pyenv-prefix "${version}")"
53
+ #supplied $version may be a prefix to be resolved by pyenv-latest
54
+ version="$(basename "$PYENV_PREFIX_PATH")"
55
if [ -x "${PYENV_PREFIX_PATH}/bin/python" ]; then
56
if [ -f "${PYENV_PREFIX_PATH}/bin/activate" ]; then
57
if [ -f "${PYENV_PREFIX_PATH}/bin/conda" ]; then
0 commit comments