mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 16:53:10 +02:00
direnv: add page (#4392)
This commit is contained in:
parent
84b0af700e
commit
9da373b089
1 changed files with 24 additions and 0 deletions
24
pages/common/direnv.md
Normal file
24
pages/common/direnv.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# 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 allow`
|
||||
|
||||
- Trigger a reload of the environment:
|
||||
|
||||
`direnv reload`
|
||||
|
||||
- Print some debug status information:
|
||||
|
||||
`direnv status`
|
Loading…
Add table
Reference in a new issue