Like Ubuntu, Fedora users should modify ~/.bashrc too
This commit is contained in:
parent
e04f2720b4
commit
22ab0f8b2f
@ -188,7 +188,7 @@ easy to fork and contribute any changes back upstream.
|
|||||||
$ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
|
$ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
|
||||||
|
|
||||||
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
||||||
**Ubuntu note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
**Ubuntu and Fedora 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 the shell
|
Please make sure `eval "$(pyenv init -)"` is placed toward the end of the shell
|
||||||
@ -197,7 +197,7 @@ easy to fork and contribute any changes back upstream.
|
|||||||
$ echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
|
$ echo '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 note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
**Ubuntu and Fedora note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
||||||
|
|
||||||
**General warning**: There are some systems where the `BASH_ENV` variable is configured
|
**General warning**: There are some systems where the `BASH_ENV` variable is configured
|
||||||
to point to `.bashrc`. On such systems you should almost certainly put the abovementioned line
|
to point to `.bashrc`. On such systems you should almost certainly put the abovementioned line
|
||||||
|
Loading…
x
Reference in New Issue
Block a user