- redundant code

This commit is contained in:
Ivan Pozdeev 2025-12-20 20:42:15 +03:00
parent 11f49fb8ff
commit 99c8c255a6
No known key found for this signature in database
GPG key ID: FB6A628DCF06DCD7

View file

@ -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"'