diff options
author | Alan Pearce | 2024-06-22 17:07:31 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-22 18:02:38 +0200 |
commit | 2636c90a5ed7b970469dd31a9be68a683219d79b (patch) | |
tree | 026b9b47369df4cc1e2f48250c0ab61e9bc0a3d2 /.envrc | |
download | dns-2636c90a5ed7b970469dd31a9be68a683219d79b.tar.lz dns-2636c90a5ed7b970469dd31a9be68a683219d79b.tar.zst dns-2636c90a5ed7b970469dd31a9be68a683219d79b.zip |
Initial commit
Diffstat (limited to '.envrc')
-rw-r--r-- | .envrc | 9 |
1 files changed, 9 insertions, 0 deletions
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 |