#!/usr/bin/env bash # the shebang is ignored, but nice for editors # shellcheck shell=bash if type -P lorri &>/dev/null; then eval "$(lorri direnv --flake .)" else echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]' use flake fi