From 4e4760b55a9226e1ed40c7e0d50d1499251de72b Mon Sep 17 00:00:00 2001 From: Campbell Alden Date: Wed, 25 Mar 2026 18:58:37 +0900 Subject: [PATCH] Enable direnv --- .envrc | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .envrc diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..82b2b9e --- /dev/null +++ b/.envrc @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# the shebang is ignored, but nice for editors + +if type -P lorri &>/dev/null; then + eval "$(lorri direnv)" +else + echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]' + use nix +fi