mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-07 20:31:01 -05:00
Modify zshrc instead of zshenv
https://github.com/pyenv/pyenv/issues/1400#issuecomment-551371058 Closes #846, #1400, #1447, #1449
This commit is contained in:
parent
ce0be04ad4
commit
4500a33c73
1 changed files with 2 additions and 2 deletions
|
@ -196,7 +196,7 @@ easy to fork and contribute any changes back upstream.
|
|||
$ echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.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 `~/.zshrc` file instead of `~/.bash_profile`.
|
||||
- **Ubuntu and Fedora note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
||||
- **Proxy note**: If you use a proxy, export `http_proxy` and `HTTPS_PROXY` too.
|
||||
|
||||
|
@ -206,7 +206,7 @@ easy to fork and contribute any changes back upstream.
|
|||
```sh
|
||||
$ echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bash_profile
|
||||
```
|
||||
- **Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
||||
- **Zsh note**: Modify your `~/.zshrc` file instead of `~/.bash_profile`.
|
||||
- **fish note**: Use `pyenv init - | source` instead of `eval (pyenv init -)`.
|
||||
- **Ubuntu and Fedora note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
||||
|
||||
|
|
Loading…
Reference in a new issue