diff options
Diffstat (limited to 'client/.envrc')
-rw-r--r-- | client/.envrc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/client/.envrc b/client/.envrc new file mode 100644 index 0000000..82b2b9e --- /dev/null +++ b/client/.envrc @@ -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 |