From 75db12e6d7695ded025240542523a9ddec8782f0 Mon Sep 17 00:00:00 2001 From: Adaephon-GH Date: Fri, 12 May 2017 02:52:26 +0200 Subject: [PATCH] Specifically mention that export may be necessary --- plugins/dotenv/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dotenv/README.md b/plugins/dotenv/README.md index 96620423..a18c1ad6 100644 --- a/plugins/dotenv/README.md +++ b/plugins/dotenv/README.md @@ -14,7 +14,7 @@ plugins=(git man dotenv) ## Usage -Create `.env` file inside your project directory and put your local ENV variables there. +Create `.env` file inside your project directory and put your local ENV variables there. The contents of `.env` are run in the context of the current shell session. Do not forget to `export` the variables, otherwise they will only be available within the current shell session and not be part of ENV (unless they were already in ENV beforehand). For example: ```sh