Fix: mistake in configuration hints in pyenv init and manpage. (#3145)

This commit is contained in:
Christian Fredrik Johnsen 2024-12-23 18:58:54 +01:00 committed by GitHub
parent 330e3fc130
commit 4c6b0e9c3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ function help_() {
echo echo
echo 'export PYENV_ROOT="$HOME/.pyenv"' echo 'export PYENV_ROOT="$HOME/.pyenv"'
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"'
echo 'eval "$(pyenv init -'$shell')"' echo 'eval "$(pyenv init - '$shell')"'
;; ;;
esac esac
echo echo

View File

@ -14,7 +14,7 @@ pyenv lets you easily switch between multiple versions of Python\. It's simple,
.RS 15 .RS 15
.nf .nf
if command -v pyenv 1>/dev/null 2>&1; then\n if command -v pyenv 1>/dev/null 2>&1; then\n
eval "$(pyenv init -)" \n eval "$(pyenv init - bash)" \n
fi fi
.fi .fi
.RE .RE