Enable direnv

This commit is contained in:
Campbell Alden 2026-03-25 18:58:37 +09:00
parent 0858f525db
commit 4e4760b55a

9
.envrc Normal file
View file

@ -0,0 +1,9 @@
#!/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