mirror of
https://github.com/pyenv/pyenv.git
synced 2026-09-11 16:16:17 -04:00
fix pyenv function
This commit is contained in:
parent
0b284c8d44
commit
b5c6002edf
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue