From 2cf5aebcfad92ab9efd297775510383e4d29cb53 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Mon, 02 Mar 2026 02:28:47 +0000 Subject: [PATCH] chore(devenv): add envrc config for devenv integration Signed-off-by: Andrei Jiroh Halili --- .envrc | 14 ++++++++++++++ 1 file(s) changed, 14 insertion(s)(+), 0 deletion(s)(-) diff --git a/.envrc b/.envrc new file mode 100644 --- /dev/null +++ b/.envrc @@ -0,0 +1,14 @@ +#!/usr/bin/env bash +export DIRENV_WARN_TIMEOUT=20s GIT_ROOT=$(git rev-parse --show-toplevel) +if [[ -f "${GIT_ROOT}/.envrc.local" ]]; then + source "${GIT_ROOT}/.envrc.local" +fi + +eval "$(devenv direnvrc)" + +# `use devenv` supports the same options as the `devenv shell` command. +# +# To silence all output, use `--quiet`. +# +# Example usage: use devenv --quiet --impure --option services.postgres.enable:bool true +use devenv -- tangled.sh