summary refs log tree commit diff stats
path: root/.envrc
blob: 82b2b9ef809eff41e236fd152c7fd41ffdaef08c (plain)
1
2
3
4
5
6
7
8
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