From 55e83f15964ae08bedb2896335f1e3ae1c1c5fdb Mon Sep 17 00:00:00 2001 From: Miao ZhiCheng Date: Tue, 16 Jul 2024 01:08:19 +0300 Subject: [PATCH] .envrc: add dotenv_if_exists --- .envrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.envrc b/.envrc index 1d953f4bd7359..015ab8ccf6f64 100644 --- a/.envrc +++ b/.envrc @@ -1 +1,6 @@ use nix + +# following the advice from https://github.com/direnv/direnv/wiki/.envrc-Boilerplate +# load developer's own local .env + +dotenv_if_exists || direnv status # https://direnv.net/man/direnv-stdlib.1.html