
Problems direnv solves
All 16 problems from direnv's listing.
- load a project's environment variables automatically when I cd into it
- my .zshrc is full of exports for different projects
- unset API keys when I leave a project directory
- activate the right virtualenv automatically per folder
- different AWS profiles for different repos without remembering to switch
- per-directory PATH additions like node_modules/.bin
- load a .env file into my shell, not just into the app
- hook nix shell or other dev environments into my normal shell
- I keep forgetting to source the project env file before running commands
- different AWS credentials per project directory
- set environment variables only while I am inside a project folder
- my .bashrc is full of project-specific exports
- automatically activate the right virtualenv when I cd into a repo
- load 12-factor app config from a file in development
- unset project env vars automatically when I leave the folder
- per-directory PATH additions for project scripts