summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/config/README.md17
1 files changed, 10 insertions, 7 deletions
diff --git a/docs/config/README.md b/docs/config/README.md
index 67e0d6a4c..20b43cc71 100644
--- a/docs/config/README.md
+++ b/docs/config/README.md
@@ -726,13 +726,16 @@ The `docker_context` module shows the currently active
### Options
-| Option | Default | Description |
-| ----------------- | ---------------------------------- | --------------------------------------------------------------------------------------------------------------- |
-| `format` | `"via [$symbol$context]($style) "` | The format for the module. |
-| `symbol` | `"🐳 "` | The symbol used before displaying the Docker context. |
-| `style` | `"blue bold"` | The style for the module. |
-| `only_with_files` | `true` | Only show when there's a `docker-compose.yml`, `docker-compose.yaml`, or `Dockerfile` in the current directory. |
-| `disabled` | `false` | Disables the `docker_context` module. |
+| Option | Default | Description |
+| ------------------- | ------------------------------------------------------------- | --------------------------------------------------------------------------------- |
+| `format` | `"via [$symbol$context]($style) "` | The format for the module. |
+| `symbol` | `"🐳 "` | The symbol used before displaying the Docker context. |
+| `only_with_files` | `true` | Only show when there's a match |
+| `detect_extensions` | `[]` | Which extensions should trigger this module (needs `only_with_files` to be true). |
+| `detect_files` | `["docker-compose.yml", "docker-compose.yaml", "Dockerfile"]` | Which filenames should trigger this module (needs `only_with_files` to be true). |
+| `detect_folders` | `[]` | Which folders should trigger this module (needs `only_with_files` to be true). |
+| `style` | `"blue bold"` | The style for the module. |
+| `disabled` | `false` | Disables the `docker_context` module. |
### Variables