summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatan Kushner <hello@matchai.dev>2024-04-06 22:39:44 +0900
committerMatan Kushner <hello@matchai.dev>2024-04-06 22:39:44 +0900
commita9915cd3b51cd91b3611734362a13629276a53ce (patch)
treeceed6b7d69a278c8a2bd20966b5e00c70edaad33
parent7b56602d5e3c221468be823b7a6e6002cb58030e (diff)
New translations readme.md (Chinese Simplified)
-rw-r--r--docs/zh-CN/config/README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/zh-CN/config/README.md b/docs/zh-CN/config/README.md
index ee98d481b..eb57dd8d3 100644
--- a/docs/zh-CN/config/README.md
+++ b/docs/zh-CN/config/README.md
@@ -2483,7 +2483,7 @@ Displays the current [Kubernetes context](https://kubernetes.io/docs/concepts/co
此组件默认被禁用。 若要启用此组件,请在配置文件中设置 `disable` 字段为 `false`。
-When the module is enabled it will always be active, unless any of `detect_extensions`, `detect_files` or `detect_folders` have been set in which case the module will only be active in directories that match those conditions.
+When the module is enabled it will always be active, unless any of `detect_env_vars`, `detect_extensions`, `detect_files` or `detect_folders` have been set in which case the module will only be active in directories that match those conditions or one of the environmatal variable has been set.
:::
@@ -2505,6 +2505,7 @@ The `context_aliases` and `user_aliases` options are deprecated. Use `contexts`
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
| `detect_files` | `[]` | 哪些文件应触发此组件 |
| `detect_folders` | `[]` | Which folders should trigger this modules. |
+| `detect_env_vars` | `[]` | Which environmental variables should trigger this module |
| `contexts` | `[]` | Customized styles and symbols for specific contexts. |
| `disabled` | `true` | Disables the `kubernetes` module. |