Added note about where to place pyenv init -
in shell configuration file (#313)
This commit is contained in:
parent
88270e83e8
commit
71c9ff565b
@ -185,6 +185,8 @@ easy to fork and contribute any changes back upstream.
|
|||||||
**Ubuntu note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
**Ubuntu note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
||||||
|
|
||||||
3. **Add `pyenv init` to your shell** to enable shims and autocompletion.
|
3. **Add `pyenv init` to your shell** to enable shims and autocompletion.
|
||||||
|
Please make sure `eval "$(pyenv init -)"` is placed toward the end of shell
|
||||||
|
configuration file since it manipulates `PATH` during the initialization.
|
||||||
|
|
||||||
$ echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
|
$ echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user