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