From d6faa296d919d466a467da8f5e29d5957fa8038f Mon Sep 17 00:00:00 2001 From: Oleksandr Molchanov Date: Fri, 13 Mar 2026 21:05:27 +0200 Subject: [PATCH] docs: update README.md --- plugins/kube-ps1/README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/kube-ps1/README.md b/plugins/kube-ps1/README.md index b66ad5da1..ab83f4604 100644 --- a/plugins/kube-ps1/README.md +++ b/plugins/kube-ps1/README.md @@ -212,10 +212,10 @@ In case you would like to have more control over kube environment context, you c | Variable | Default | Meaning | | :------- | :-----: | ------- | -| `KUBE_ENV_CTX_ENABLE` | `false` | Extract environment identifiers from `kube_ps1` context and display them as a separate block in square brackets | +| `KUBE_ENV_CTX_ENABLE` | `false` | Extract environment identifiers from context and display them as a separate block in square brackets, e.g `testing-mycluster` becomes `[test] mycluster` | | `KUBE_ENV_PADDING` | ` ` | Padding (spaces or characters) added around the environment block | | `KUBE_ENV_OPEN_SYMBOL` | `[` | Opening symbol used for the environment block | -| `KUBE_ENV_CLOSE_SYMBOL` | `]${KUBE_ENV_PADDING}` | Closing symbol used for the environment block | +| `KUBE_ENV_CLOSE_SYMBOL` | `]` | Closing symbol used for the environment block | | `KUBE_ENV_PROD` | `prod` | Set default production label | | `KUBE_ENV_STG` | `stag` | Set default staging label | | `KUBE_ENV_TEST` | `test` | Set default testing label | @@ -244,7 +244,11 @@ The default colors are set with the following variables: | `KUBE_PS1_NS_COLOR` | `cyan` | Set default color of the namespace | | `KUBE_PS1_BG_COLOR` | `null` | Set default color of the prompt background | -If `KUBE_ENV_CTX_ENABLE` set to `true`, you can also adjust: +Blue was used for the default symbol to match the Kubernetes color as closely +as possible. Red was chosen as the context name to stand out, and cyan for the +namespace. + +If `KUBE_ENV_CTX_ENABLE` is set to `true`, you can also adjust: | Variable | Default | Meaning | | :------- | :-----: | ------- | @@ -253,10 +257,6 @@ If `KUBE_ENV_CTX_ENABLE` set to `true`, you can also adjust: | `KUBE_ENV_TEST_COLOR` | `green` | Set default color of the testing environment | | `KUBE_ENV_DEV_COLOR` | `blue` | Set default color of the development environment | -Blue was used for the default symbol to match the Kubernetes color as closely -as possible. Red was chosen as the context name to stand out, and cyan for the -namespace. - Set the variable to an empty string if you do not want color for each prompt section: