Skip to content

Commit ecad36a

Browse files
committed
Added uniget defaults
1 parent 1c2f089 commit ecad36a

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

docs/environment.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,24 @@ Set the user context using `$UNIGET_USER` or `--user`. See [context](context.md)
2020

2121
## User interaction
2222

23-
Disable user interaction with `$UNIGET_NO_INTERACTIVE=1` or `--no-interactive`.
23+
Disable user interaction with `$UNIGET_NO_INTERACTIVE=1` or `--no-interactive`.
24+
25+
## Configure default behaviour
26+
27+
Configure defaults for uniget using environment variables.
28+
29+
### User context
30+
31+
Configure operations to operate in user context:
32+
33+
```bash
34+
export UNIGET_USER=true
35+
```
36+
37+
### Custom target directory
38+
39+
Configure a custo mtarget directory:
40+
41+
```bash
42+
export UNIGET_TARGET=/opt/uniget
43+
```

0 commit comments

Comments
 (0)