From 247cf7ac0f140f93934b2abfc7ca213c43795b41 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Thu, 24 Apr 2014 13:42:40 -0300 Subject: [PATCH] my rst is a little bit rusty... --- README.rst | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README.rst b/README.rst index 2ece18f..6c83e92 100644 --- a/README.rst +++ b/README.rst @@ -9,17 +9,17 @@ Setup The first step is to define where your virtualenvs will reside. You will need to create a directory for that and then add it on your startup files (for -example, `~/.bashrc`). To do that, simply add a line with +example, ``~/.bashrc``). To do that, simply add a line with -`export WORKON_HOME=` +``export WORKON_HOME=`` -where `` is the directory for the virtualenvs. +where ```` is the directory for the virtualenvs. -Next step is getting the `auto-virtualenv.sh` file (really, all you need is +Next step is getting the ``auto-virtualenv.sh`` file (really, all you need is that file) and saving somewhere in your disk. Then add the following in the -end of your `~/.bashrc`: +end of your ``~/.bashrc``: -`source /auto-virtualenv.sh` +``source /auto-virtualenv.sh`` And that's it! @@ -27,17 +27,17 @@ Autoloading VirtualEnvs ------------------------ To auto-load a virtualenv, you'll need to tell that the directory belongs to a -virtualenv. To do so, create a file named `.venv` inside the current directory +virtualenv. To do so, create a file named ``.venv`` inside the current directory with the name of the virtualenv and, every time you get in this directory (or any of its children), the virtualenv will be activated automatically. Other tools ------------ -There are two other tools included in `auto-virtualenv.sh`: +There are two other tools included in ``auto-virtualenv.sh``: -`mkenv` will create a virtualenv (inside your `WORKON_HOME`) and automatically create the `.venv` in the +``mkenv`` will create a virtualenv (inside your ``WORKON_HOME``) and automatically create the `.venv` in the current directory. -`venv` will activate any virtualenv without the need of passing the full path -(as long as the virtualenv is inside `WORKON_HOME`). +``venv`` will activate any virtualenv without the need of passing the full path +(as long as the virtualenv is inside ``WORKON_HOME``).