fix pyenv function

This commit is contained in:
Ivan Pozdeev 2025-12-20 21:04:31 +03:00
parent 0b284c8d44
commit b5c6002edf
No known key found for this signature in database
GPG key ID: FB6A628DCF06DCD7

View file

@ -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")
}