From b5c6002edf4af9755b65496b5b2e61dfe5ce0248 Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Sat, 20 Dec 2025 21:04:31 +0300 Subject: [PATCH] fix pyenv function --- libexec/pyenv-init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/pyenv-init b/libexec/pyenv-init index 1ec453cf..eb0115be 100755 --- a/libexec/pyenv-init +++ b/libexec/pyenv-init @@ -321,7 +321,7 @@ function pyenv { } if ( ("${commands[*]}" -split ' ') -contains \$command ) { - \$shell_cmds = & \$Env:PYENV_ROOT/bin/pyenv sh-\$command \$args + \$shell_cmds = &pyenv sh-\$command \$args if ( \$shell_cmds.Count -gt 0 ) { iex (\$shell_cmds -join "\`n") }