#!/usr/bin/env bash # the shebang is ignored, but nice for editors if type -P lorri &>/dev/null; then eval "$(lorri direnv)" if has update-types; then update-types fi else echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]' use nix fi dotenv_if_exists # shellcheck disable=SC2046 env_vars_required $(grep --only-matching '\$[A-Z_]\+' creds.json | cut -d\$ -f2) watch_file lon.lock lon.nix