System Grab Bag

View all TLDR pages from common (or from all pages)

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 .envrc present in the current directory:
    direnv allow {{.}}
  • Revoke the authorization to load the .envrc present in the current directory:
    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

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.