Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
Kiara Grouwstra | e58985cae7 |
11
.envrc
11
.envrc
|
@ -1,2 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
# the shebang is ignored, but nice for editors
|
||||
|
||||
# shellcheck shell=bash
|
||||
use flake
|
||||
if type -P lorri &>/dev/null; then
|
||||
eval "$(lorri direnv --flake .)"
|
||||
else
|
||||
echo 'while direnv evaluated .envrc, could not find the command "lorri" [https://github.com/nix-community/lorri]'
|
||||
use flake
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue