Difference between revisions of "Direnv"
Jump to navigation
Jump to search
(Created page with "wikipedia:direnv") Tags: Mobile web edit, Mobile edit |
|||
(18 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | [[wikipedia:direnv]] | + | {{lowercase}} |
+ | [[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: <code>[[.envrc]]</code> | ||
+ | * <code>[[brew install direnv]]</code> | ||
+ | |||
+ | [[direnv allow]] | ||
+ | [[direnv hook bash]] | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[.profile]]</code> | ||
+ | * [[12factor]] | ||
+ | * <code>[[brew install direnv]]</code> | ||
+ | |||
+ | == See also == | ||
+ | * {{direnv}} | ||
+ | * {{sh}} | ||
+ | * {{env}} | ||
+ | |||
+ | [[Category:Linux]] |
Latest revision as of 10:22, 15 February 2023
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: