From 391361ec46751a0cc91020505c39211aa34aa179 Mon Sep 17 00:00:00 2001 From: Lieuwe Rooijakkers Date: Sat, 17 Feb 2024 21:47:06 +0100 Subject: add lorri information --- .envrc | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .envrc (limited to '.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 -- cgit v1.2.3-70-g09d2