Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,33 +30,33 @@ From inside that directory you can:

1. **Check out pyenv-virtualenv into plugin directory**

```sh
```bash
git clone https://github.com/pyenv/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
```

For the Fish shell:

```sh
```fish
git clone https://github.com/pyenv/pyenv-virtualenv.git (pyenv root)/plugins/pyenv-virtualenv
```

2. (OPTIONAL) **Add `pyenv virtualenv-init` to your shell** to enable auto-activation of virtualenvs. This is entirely optional but pretty useful. See "Activate virtualenv" below.

```sh
```bash
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc
```

**Fish shell note**: Add this to your `~/.config/fish/config.fish`

```sh
```fish
status --is-interactive; and pyenv virtualenv-init - | source
```

**Zsh note**: Modify your `~/.zshrc` file instead of `~/.bashrc`.

3. **Restart your shell to enable pyenv-virtualenv**

```sh
```bash
exec "$SHELL"
```

Expand Down
Loading