Control Environment Variables - With direnv | Online Free DevTools by Hexmos
Control environment variables easily with direnv. Manage directory-specific environment settings and automate environment loading/unloading. Free online tool, no registration required.
direnv
Shell extension to load and unload environment variables depending on the current directory. More information: https://github.com/direnv/direnv.
- Grant direnv permission to load the
.envrcpresent in the current directory:
direnv allow {{.}}
- Revoke the authorization to load the
.envrcpresent in the current directory:
direnv deny {{.}}
- Edit the
.envrcfile in the default text editor and reload the environment on exit:
direnv edit {{.}}
- Trigger a reload of the environment:
direnv reload
- Print some debug status information:
direnv status
