diff options
author | Alan Pearce | 2024-06-29 17:36:24 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-29 17:36:24 +0200 |
commit | cf942bc3c88e6d4482b6f99c1a31b5c13efe8e69 (patch) | |
tree | 247ab90505579d296d474c42bbe8317edb863ccd /.envrc | |
download | gopkgs-cf942bc3c88e6d4482b6f99c1a31b5c13efe8e69.tar.lz gopkgs-cf942bc3c88e6d4482b6f99c1a31b5c13efe8e69.tar.zst gopkgs-cf942bc3c88e6d4482b6f99c1a31b5c13efe8e69.zip |
initial commit
Diffstat (limited to '.envrc')
-rw-r--r-- | .envrc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..82b2b9e --- /dev/null +++ b/.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 |