Update pyenv init
line in README.md
Update `pyenv init` line in README.md in case ```pyenv``` is not found.
This commit is contained in:
parent
8297de9ee0
commit
6485409a55
@ -203,7 +203,7 @@ easy to fork and contribute any changes back upstream.
|
|||||||
Please make sure `eval "$(pyenv init -)"` is placed toward the end of the shell
|
Please make sure `eval "$(pyenv init -)"` is placed toward the end of the shell
|
||||||
configuration file since it manipulates `PATH` during the initialization.
|
configuration file since it manipulates `PATH` during the initialization.
|
||||||
```sh
|
```sh
|
||||||
$ echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
|
$ echo '[ -x ~/.pyenv/bin/pyenv ] && eval "$(pyenv init -)"' >> ~/.bash_profile
|
||||||
```
|
```
|
||||||
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
||||||
**Ubuntu and Fedora note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
**Ubuntu and Fedora note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user