about summary refs log tree commit diff stats
path: root/.envrc
diff options
context:
space:
mode:
authorAlan Pearce2024-06-30 11:36:16 +0200
committerAlan Pearce2024-06-30 11:36:16 +0200
commitddadac45203f8aa48b05e9944cc5dcddb8829f62 (patch)
tree39c548ec9b5eb2eac70df2c70e41c7d3a3e0756c /.envrc
downloadx-ddadac45203f8aa48b05e9944cc5dcddb8829f62.tar.lz
x-ddadac45203f8aa48b05e9944cc5dcddb8829f62.tar.zst
x-ddadac45203f8aa48b05e9944cc5dcddb8829f62.zip
initial commit
Diffstat (limited to '.envrc')
-rw-r--r--.envrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/.envrc b/.envrc
new file mode 100644
index 0000000..a75b02f
--- /dev/null
+++ b/.envrc
@@ -0,0 +1,7 @@
+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