Tools (such as VSCode) can read and use environment variables from a file in the current working directory named `.env`. Unfortunately, these tools are not exactly compatible with shell syntax, as they do not correctly process lines starting with `export`. The `dotenv` function will read a `.env` file from the current working directory and then export all of the variables it defines. This allows the `.env` file to define the variables without "exporting" them, making them compatible with VSCode et al, but still allowing the same environment variables to be set in the shell and its child processes. |
||
---|---|---|
.. | ||
_fmkrb5 | ||
dotenv | ||
kadmin | ||
precmd | ||
startrole | ||
switchrealm | ||
vi-search-fix | ||
vmip |