From f9b1814b828027c318412ec5b07c09ee9ba47069 Mon Sep 17 00:00:00 2001 From: massongit Date: Tue, 31 Jan 2017 12:38:21 +0900 Subject: [PATCH] Fix the installation command of README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 02b4b74..27ce30b 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ and you love it, [pyenv-virtualenvwrapper](https://github.com/yyuu/pyenv-virtual ### Installing as a pyenv plugin This will install the latest development version of pyenv-virtualenv into -the `~/.pyenv/plugins/pyenv-virtualenv` directory. +the `$(pyenv root)/plugins/pyenv-virtualenv` directory. **Important note:** If you installed pyenv into a non-standard directory, make sure that you clone this repo into the 'plugins' directory of wherever you @@ -31,7 +31,7 @@ From inside that directory you can: 1. **Check out pyenv-virtualenv into plugin directory** ```sh - $ git clone https://github.com/yyuu/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv + $ git clone https://github.com/yyuu/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. @@ -90,7 +90,7 @@ of the virtualenv directory. For example, $ pyenv virtualenv 2.7.10 my-virtual-env-2.7.10 ``` -will create a virtualenv based on Python 2.7.10 under `~/.pyenv/versions` in a +will create a virtualenv based on Python 2.7.10 under `$(pyenv root)/versions` in a folder called `my-virtual-env-2.7.10`. @@ -141,7 +141,7 @@ pyenv deactivate ### Delete existing virtualenv -Removing the directories in `~/.pyenv/versions` and `~/.pyenv/versions/{version}/envs` will delete the virtualenv, or you can run: +Removing the directories in `$(pyenv root)/versions` and `$(pyenv root)/versions/{version}/envs` will delete the virtualenv, or you can run: ```sh pyenv uninstall my-virtual-env