diff options
author | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-02-17 21:47:06 +0100 |
---|---|---|
committer | Lieuwe Rooijakkers <lieuwerooijakkers@gmail.com> | 2024-02-17 21:47:06 +0100 |
commit | 391361ec46751a0cc91020505c39211aa34aa179 (patch) | |
tree | 5c75652b2eacf7c8728c56c8e3b42248aad430f1 /.envrc | |
parent | fba9ee20938cccfbe2febaf72c3c352745095055 (diff) |
add lorri information
Diffstat (limited to '.envrc')
-rw-r--r-- | .envrc | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |