Skip to content

Commit

Permalink
Fix: mistake in configuration hints in pyenv init and manpage. (pye…
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianFredrikJohnsen authored Dec 23, 2024
1 parent 330e3fc commit 4c6b0e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libexec/pyenv-init
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ function help_() {
echo
echo 'export PYENV_ROOT="$HOME/.pyenv"'
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"'
echo 'eval "$(pyenv init -'$shell')"'
echo 'eval "$(pyenv init - '$shell')"'
;;
esac
echo
Expand Down
2 changes: 1 addition & 1 deletion man/man1/pyenv.1
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pyenv lets you easily switch between multiple versions of Python\. It's simple,
.RS 15
.nf
if command -v pyenv 1>/dev/null 2>&1; then\n
eval "$(pyenv init -)" \n
eval "$(pyenv init - bash)" \n
fi
.fi
.RE
Expand Down

0 comments on commit 4c6b0e9

Please sign in to comment.