From 6249f6b406ed007ae430839e711ff29310829811 Mon Sep 17 00:00:00 2001 From: Erin O'Connell Date: Thu, 21 Sep 2017 20:51:25 -0600 Subject: [PATCH] expanded on shell and environment variable use --- README.rst | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 23a9cee8..600319d0 100644 --- a/README.rst +++ b/README.rst @@ -222,12 +222,18 @@ Uninstall everything:: ... Environment now purged and fresh! -Use the shell:: +Use the shell and Environment Variables:: + $ echo "HELLO=WORLD" > .env $ pipenv shell Loading .env environment variables… Launching subshell in virtual environment. Type 'exit' or 'Ctrl+D' to return. - $ ▯ + $ python + Python 2.7.13 (default, Jul 18 2017, 09:17:00) [GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)] on darwin + Type "help", "copyright", "credits" or "license" for more information. + >>> import os + >>> os.environ['HELLO'] + 'WORLD' ☤ Documentation ---------------