envrc: fallback if lorri is not present

This commit is contained in:
Jörg Thalheim 2021-02-09 23:14:55 +01:00
parent 450f39121c
commit fd7fe03149
No known key found for this signature in database
GPG Key ID: B3F5D81B0C6967C4

6
.envrc
View File

@ -1 +1,5 @@
eval "$(lorri direnv)"
if has lorri; then
eval "$(lorri direnv)"
else
use nix
fi