direnv
direnv 2.37.1
Shell extension that manages your environment
<rendered-html><p>Once hooked into your shell direnv is looking for an .envrc file in your current directory before every prompt.</p> <p>If found it will load the exported environment variables from that bash script into your current environment, and unload them if the .envrc is not reachable from the current path anymore.</p> <p>In short, this little tool allows you to have project-specific environment variables.</p> </rendered-html>
https://direnv.netMIT License
main program: direnvprograms: direnv
Maintainers
Platforms (30)
powerpc-linuxs390-linuxarmv5tel-linuxi686-freebsdsh4-linuxmips-linuxmips64-linuxi686-linux
Install
Copy into your configuration
NixOS (configuration.nix)
environment.systemPackages = with pkgs; [ direnv ];
Ad-hoc shell
nix-shell -p direnv
Flake (nix run)
nix run nixpkgs#direnv