From 7ad48953a4d9470d2f4fe89343c0b09bff410c58 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 2 May 2024 13:55:48 +0200 Subject: chore: initial commit --- .envrc.sample | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .envrc.sample (limited to '.envrc.sample') diff --git a/.envrc.sample b/.envrc.sample new file mode 100644 index 0000000..dc0051f --- /dev/null +++ b/.envrc.sample @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +# the shebang is ignored, but nice for editors + +layout go + +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 1.4.1