From 99c8c255a6f254306cac1cd5aa5cc976bafc0a0b Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Sat, 20 Dec 2025 20:42:15 +0300 Subject: [PATCH] - redundant code --- libexec/pyenv-init | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/libexec/pyenv-init b/libexec/pyenv-init index eb1d5194..1ec453cf 100755 --- a/libexec/pyenv-init +++ b/libexec/pyenv-init @@ -157,14 +157,7 @@ function help_() { ;; pwsh ) echo '# Load pyenv automatically by appending' - echo -n "# the following to " - if [ "$profile" == "$rc" ]; then - echo "$profile :" - else - echo - echo "${profile_explain:-$profile} (for login shells)" - echo "and $rc (for interactive shells) :" - fi + echo "# the following to $profile :" echo echo '$Env:PYENV_ROOT="$HOME/.pyenv"' echo '$Env:PATH="$Env:PYENV_ROOT/bin:$Env:PATH"'