Load another .envrc with direnv
A small snippet to source an additional env file with direnv:
source_env_if_exists .envrc.private
env_vars_required FOO BAR
where .envrc.private
contains the environment variables:
export FOO=foo
export BAR=bar
The additional env_vars_required
log an error for every variable that is not present.