about summary refs log tree commit diff stats
path: root/.envrc
blob: c0b3b3e22a8b47a3d0cdb024532dfe000ae8cfa3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
layout go
if type -P lorri &>/dev/null; then
  if test -n "$TMPDIR"; then
    TMPDIR=$(readlink -f $TMPDIR)
  fi
  eval "$(lorri direnv --flake .)"
else
  echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]'
  use nix
fi

dotenv