tldr/pages/common/direnv.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

520 B

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 specified .envrc:

direnv allow

  • Revoke the authorization of a given .envrc:

direnv deny

  • Edit the .envrc file 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