mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2026-09-10 07:16:18 -04:00
Add a note about virtualenv-init for fish users
This commit is contained in:
parent
a22521e946
commit
74bc08b7dc
|
|
@ -40,6 +40,12 @@ From inside that directory you can:
|
||||||
$ echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bash_profile
|
$ echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bash_profile
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**Fish shell note**: Add this to your `~/.config/fish/config.fish`
|
||||||
|
|
||||||
|
```sh
|
||||||
|
status --is-interactive; and source (pyenv virtualenv-init -|psub)
|
||||||
|
```
|
||||||
|
|
||||||
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
||||||
**Pyenv note**: You may also need to add `eval "$(pyenv init -)"` to your profile if you haven't done so already.
|
**Pyenv note**: You may also need to add `eval "$(pyenv init -)"` to your profile if you haven't done so already.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue