From 818bbcb11c67839515bb9c7481f078f1ecc4d79b Mon Sep 17 00:00:00 2001 From: Sanpi Date: Sat, 27 Jan 2018 11:53:33 +0100 Subject: [PATCH] [dotenv] Add array notation --- components/dotenv.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/dotenv.rst b/components/dotenv.rst index 2b71e0f0606..4bb92e09968 100644 --- a/components/dotenv.rst +++ b/components/dotenv.rst @@ -90,6 +90,13 @@ Use environment variables in values by prefixing variables with ``$``: DB_USER=root DB_PASS=${DB_USER}pass # Include the user as a password prefix +You can use array: + +.. code-block:: bash + + DB[USER]=root + DB[PASS]=pass + Embed commands via ``$()`` (not supported on Windows): .. code-block:: bash