13 lines
205 B
Bash
13 lines
205 B
Bash
#!/usr/bin/env bash
|
|
|
|
if has lorri; then
|
|
echo Using lorri
|
|
eval "$(lorri direnv)"
|
|
elif has nix; then
|
|
echo Using flake fallback
|
|
use flake
|
|
else
|
|
# noop
|
|
echo unsupported direnv configuration
|
|
fi
|