diff --git a/README.md b/README.md index 4fdc0c1..3d91e1c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # pyenv-virtualenv (a.k.a. [python-virtualenv](https://github.com/yyuu/python-virtualenv)) pyenv-virtualenv is a [pyenv](https://github.com/yyuu/pyenv) plugin -that provides an `pyenv virtualenv` command to create virtualenv for Python +that provides a `pyenv virtualenv` command to create virtualenv for Python on UNIX-like systems. (NOTICE: If you are an existing user of [virtualenvwrapper](http://pypi.python.org/pypi/virtualenvwrapper) @@ -15,9 +15,7 @@ to manage your virtualenvs.) Installing pyenv-virtualenv as a pyenv plugin will give you access to the `pyenv virtualenv` command. - $ mkdir -p ~/.pyenv/plugins - $ cd ~/.pyenv/plugins - $ git clone git://github.com/yyuu/pyenv-virtualenv.git + $ git clone git://github.com/yyuu/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv This will install the latest development version of pyenv-virtualenv into the `~/.pyenv/plugins/pyenv-virtualenv` directory. From that directory, you diff --git a/bin/pyenv-virtualenv b/bin/pyenv-virtualenv index fdfa4fe..2d2cf92 100755 --- a/bin/pyenv-virtualenv +++ b/bin/pyenv-virtualenv @@ -253,7 +253,7 @@ for hook in "${after_hooks[@]}"; do eval "$hook"; done # Run `pyenv-rehash` after a successful installation. if [ "$STATUS" == "0" ]; then - pyenv rehash + pyenv-rehash else cleanup fi