Files
manifests/.envrc
T
2025-09-22 15:55:17 +02:00

15 lines
359 B
Bash

#!/usr/bin/env bash
# the shebang is ignored, but nice for editors
watch_file lon.lock
# Load .env file if it exists
dotenv_if_exists
# Activate development shell
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