fix: fix silly docs mistake in pyenv init
.
-> Currently we get: ```zsh pyenv init # Load pyenv automatically by appending # the following to # ~/.zprofile (for login shells) # and ~/.zshrc (for interactive shells) : export PYENV_ROOT="$HOME/.pyenv" [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init -zsh)" ``` But it should obviously be `pyenv init - zsh`.
This commit is contained in:
parent
330e3fc130
commit
df4c4cdbc9
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user