Add environment variables section

main
William Beuil 2021-02-01 21:09:25 +01:00
parent 2606de5436
commit 12346bff3d
No known key found for this signature in database
GPG Key ID: BED2072C5C2BF537
1 changed files with 10 additions and 0 deletions

View File

@ -204,3 +204,13 @@ $ cp completions/dctlenv.fish ~/.config/fish/completions/dctlenv.fish
Remember to create the directory if it's not already there `mkdir -p ~/.config/fish/completions/`.
Remember to open a new shell to test the functionality.
## Environment variables
You can configure how `dctlenv` operates with the following settings:
| name | default | description |
| --------------- | ------- | ------------------------------------------------------------------------------------------- |
| `DCTLENV_ROOT` | | Defines the directory under which dctlenv resides<br> Current value shown by `dctlenv root` |
| `DCTLENV_ARCH` | `amd64` | Architecture other than the default amd64 can be specified |
| `DCTLENV_DEBUG` | `0` | Outputs debug information |