mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Merge pull request #1266 from bicycle1885/patch-1
Add a note for fish shell users (close #1203)
This commit is contained in:
commit
6309aaf295
1 changed files with 3 additions and 2 deletions
|
@ -205,8 +205,9 @@ 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`.
|
||||
**Ubuntu and Fedora note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
||||
- **Zsh note**: Modify your `~/.zshenv` 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`.
|
||||
|
||||
**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
|
||||
|
|
Loading…
Reference in a new issue