direnv: clarification in the examples and Italian translation (#7001)
This commit is contained in:

committed by
GitHub

parent
41cebf70a0
commit
61b7666a76
24
pages.it/common/direnv.md
Normal file
24
pages.it/common/direnv.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# direnv
|
||||
|
||||
> Estensione della shell per aggiungere o rimuovere variabili d'ambiente in base alla cartella corrente.
|
||||
> Maggiori informazioni: <https://github.com/direnv/direnv>.
|
||||
|
||||
- Permette il caricamento del `.envrc` presente nella cartella corrente:
|
||||
|
||||
`direnv allow {{.}}`
|
||||
|
||||
- Revoca il permesso del `.envrc` presente nella cartella corrente:
|
||||
|
||||
`direnv deny {{.}}`
|
||||
|
||||
- Permette la modifica del `.envrc` nell'editor di testo predefinito, in seguito ricarica l'ambiente:
|
||||
|
||||
`direnv edit {{.}}`
|
||||
|
||||
- Ricarica l'ambiente corrente:
|
||||
|
||||
`direnv reload`
|
||||
|
||||
- Mostra delle informazioni di debug:
|
||||
|
||||
`direnv status`
|
@@ -3,17 +3,17 @@
|
||||
> 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`:
|
||||
- Grant direnv permission to load the `.envrc` present in the current directory:
|
||||
|
||||
`direnv allow`
|
||||
`direnv allow {{.}}`
|
||||
|
||||
- Revoke the authorization of a given `.envrc`:
|
||||
- Revoke the authorization to load the `.envrc` present in the current directory:
|
||||
|
||||
`direnv deny`
|
||||
`direnv deny {{.}}`
|
||||
|
||||
- Edit the `.envrc` file in the default text editor and reload the environment on exit:
|
||||
|
||||
`direnv edit .`
|
||||
`direnv edit {{.}}`
|
||||
|
||||
- Trigger a reload of the environment:
|
||||
|
||||
|
Reference in New Issue
Block a user