mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 17:03:40 +00:00
Added note about where to place pyenv init -
in shell configuration file (#313)
This commit is contained in:
parent
88270e83e8
commit
71c9ff565b
1 changed files with 2 additions and 0 deletions
|
@ -185,6 +185,8 @@ easy to fork and contribute any changes back upstream.
|
|||
**Ubuntu note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
||||
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue