Skip to content

Commit

Permalink
README: Remove dollar signs from commands that are meant to be copied (
Browse files Browse the repository at this point in the history
  • Loading branch information
galonsky authored Jun 27, 2024
1 parent 3791706 commit cf45718
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ From inside that directory you can:
1. **Check out pyenv-virtualenv into plugin directory**

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

For the Fish shell:

```sh
$ git clone https://github.com/pyenv/pyenv-virtualenv.git (pyenv root)/plugins/pyenv-virtualenv
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
$ echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc
```

**Fish shell note**: Add this to your `~/.config/fish/config.fish`
Expand All @@ -57,7 +57,7 @@ From inside that directory you can:
3. **Restart your shell to enable pyenv-virtualenv**

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


Expand All @@ -72,13 +72,13 @@ installed, you will also be able to use the `pyenv virtualenv` command.
with Homebrew.*

```sh
$ brew install pyenv-virtualenv
brew install pyenv-virtualenv
```

Or, if you would like to install the latest development release:

```sh
$ brew install --HEAD pyenv-virtualenv
brew install --HEAD pyenv-virtualenv
```

After installation, you'll still need to do
Expand All @@ -99,7 +99,7 @@ To create a virtualenv for the Python version used with pyenv, run
of the virtualenv directory. For example,
```sh
$ pyenv virtualenv 2.7.10 my-virtual-env-2.7.10
pyenv virtualenv 2.7.10 my-virtual-env-2.7.10
```
will create a virtualenv based on Python 2.7.10 under `$(pyenv root)/versions` in a
Expand Down

0 comments on commit cf45718

Please sign in to comment.