From 4baec6bfcb3dc5db1fb8bbc0efd24b09e2487dc1 Mon Sep 17 00:00:00 2001 From: Axel H Date: Tue, 18 Apr 2023 16:14:41 +0200 Subject: [PATCH] feat(config): document the possibility to set the configuration path from `WTF_CONFIG` Ref: wtfutil/wtf#1572 --- docs/configuration/files.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/configuration/files.md b/docs/configuration/files.md index b6c7a217..c55e01c7 100644 --- a/docs/configuration/files.md +++ b/docs/configuration/files.md @@ -38,3 +38,10 @@ parameter on launch: ```bash ❯ wtfutil --config=path/to/custom/config.yml ``` + +You can also specify this configuration using hte `WTF_CONFIG` environment variables: + +```bash +❯ export WTF_CONFIG=path/to/custom/config.yml +❯ wtfutil +```