Files
sydnix/scripts/sydnix-cli/.envrc
2025-01-19 18:41:38 -07:00

10 lines
262 B
Bash
Executable File

#!/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