From db6dd08ea43290208d3f574ccba3506b0f76d1ce Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 9 Apr 2024 19:53:59 -0400 Subject: Only load .envrc.local if present Otherwise, every direnv reload will print an error. Its harmless, but still annoying. --- .envrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.envrc') diff --git a/.envrc b/.envrc index 717b333..67b6b37 100644 --- a/.envrc +++ b/.envrc @@ -47,6 +47,6 @@ git config --local branchless.test.alias.ci 'git clean -ffdx; eval $(direnv export bash); Biz/Ci.sh' # # load local settings - . ./.envrc.local + [[ -f ./.envrc.local ]] && . ./.envrc.local || : ## tips.sh -- cgit v1.2.3