mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-08 11:33:55 -05:00
Add a note about virtualenv-init for fish users
This commit is contained in:
@@ -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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user