Skip to content

Commit c5b47f4

Browse files
timhughesSaurabh Kumar
authored andcommitted
Clarify env var substitution format (theskumar#221)
1 parent c00ccbb commit c5b47f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ export SECRET_KEY=YOURSECRETKEYGOESHERE
4141

4242
`.env` can interpolate variables using POSIX variable expansion,
4343
variables are replaced from the environment first or from other values
44-
in the `.env` file if the variable is not present in the environment.
44+
in the `.env` file if the variable is not present in the environment.
45+
Ensure that variables are surrounded with `{}` like `${HOME}` as bare
46+
variables such as `$HOME` are not expanded.
4547
(**Note**: Default Value Expansion is not supported as of yet, see
4648
[\#30](https://github.com/theskumar/python-dotenv/pull/30#issuecomment-244036604).)
4749

0 commit comments

Comments
 (0)