diff options
Diffstat (limited to 'docs/zh-CN/config/README.md')
-rw-r--r-- | docs/zh-CN/config/README.md | 3 |
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. | |