direnv
Jump to navigation
Jump to search
wikipedia:direnv is an extension for your shell. It augments existing shells with a new feature that can load and unload environment variables depending on the current directory.
- https://direnv.net/
- Configuration:
.envrc
brew install direnv
direnv allow direnv hook bash
Related[edit]
See also[edit]
direnv [ allow | hook bash ]
- Shell: Fish shell,
sh
,Bash
,ksh
,zsh
,ash
, PowerShell (Windows),/usr/bin/env
,.hushlogin
,dash
,tcsh
, Shell redirection,dquote, $SHELL
, Google Cloud Shell, AWS CloudShell, explainshell.com, vmware_vm_shell, Nushell, Fig.io, direnv - Variables: Environment variables,
env
,env-cmd
,.env/
,SHELL
,PS1, HOME, $?
,PATH
,HISTFILE, PWD, LD_LIBRARY_PATH
,printenv, getenv, getenv, direnv
, AWS cli environmental variables, envsubst,env:, env_file
(docker-compose)
Advertising: