From b5cff6669f811aaba565cefc7e18a37476205174 Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Sun, 15 Dec 2024 23:21:05 +0300 Subject: [PATCH] Ignore missing versions when searching for executables --- libexec/pyenv-exec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/pyenv-exec b/libexec/pyenv-exec index 251a4f7c..f3ba1b63 100755 --- a/libexec/pyenv-exec +++ b/libexec/pyenv-exec @@ -21,7 +21,7 @@ if [ "$1" = "--complete" ]; then exec pyenv-shims --short fi -PYENV_VERSION="$(pyenv-version-name)" +PYENV_VERSION="$(pyenv-version-name -f)" PYENV_COMMAND="$1" if [ -z "$PYENV_COMMAND" ]; then