add direnv

This commit is contained in:
Abel Luck 2026-02-26 10:02:57 +01:00
parent 0ecc2f7b06
commit db6b90134d
3 changed files with 10 additions and 2 deletions

6
.envrc Normal file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env bash
if [[ $(type -t use_flake) != function ]]; then
echo "ERROR: direnv's use_flake function missing. update direnv to v2.30.0 or later." && exit 1
fi
use flake
dotenv