Change ~/.pyenv to $PYENV_ROOT

This commit is contained in:
CIARANA 2017-09-08 00:28:19 +09:00 committed by cia-rana
parent 6485409a55
commit bc58ab54f8

View file

@ -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
configuration file since it manipulates `PATH` during the initialization.
```sh
$ echo '[ -x ~/.pyenv/bin/pyenv ] && eval "$(pyenv init -)"' >> ~/.bash_profile
$ echo '[ -x $PYENV_ROOT/bin/pyenv ] && eval "$(pyenv init -)"' >> ~/.bash_profile
```
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
**Ubuntu and Fedora note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.