From 9a221d08ac02af460e4a2e1b5a95b1cfb52cd721 Mon Sep 17 00:00:00 2001 From: Tomas Thor Jonsson Date: Mon, 23 Apr 2012 19:38:43 +0200 Subject: [PATCH] add small section about autoenv, asked for in #97 --- docs/dev/virtualenvs.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/dev/virtualenvs.rst b/docs/dev/virtualenvs.rst index 7a35e9b1c..ee6ace244 100644 --- a/docs/dev/virtualenvs.rst +++ b/docs/dev/virtualenvs.rst @@ -137,3 +137,21 @@ Other useful commands Shows contents of ``site-packages`` directory. `Full list of virtualenvwrapper commands `_. + +autoenv +------- +When you ``cd`` into a directory containing a ``.env`` `autoenv `_ +automagically activates the environment. + +Install it on Mac OS X using ``brew``: + +.. code-block:: console + + $ brew install autoenv + +And on Linux: + +.. code-block:: console + + $ git clone git://github.com/kennethreitz/autoenv.git ~/.autoenv + $ echo 'source ~/.autoenv/activate.sh' >> ~/.bashrc