about summary refs log tree commit diff stats
path: root/.envrc.sample
blob: b1fc9e5bf994bac6ab552ec3e7df45d5fd4b8284 (plain)
1
2
3
4
5
6
7
8
9
10
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 flake
fi