mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-17 09:56:45 +08:00
feat(kube-ps1): add symlink support (#12208)
This commit is contained in:
1 parent
50fd98e5a6
commit
9730915910
2 files changed
+21
-7
No files matched your search
@@ -136,6 +136,7 @@ the following environment variables:
|
||||
| `KUBE_PS1_SUFFIX` | `)` | Prompt closing character |
|
||||
| `KUBE_PS1_CLUSTER_FUNCTION` | No default, must be user supplied | Function to customize how cluster is displayed |
|
||||
| `KUBE_PS1_NAMESPACE_FUNCTION` | No default, must be user supplied | Function to customize how namespace is displayed |
|
||||
| `KUBE_PS1_KUBECONFIG_SYMLINK` | `false` | Treat `KUBECONFIG` and `~/.kube/config` files as symbolic links |
|
||||
|
||||
For terminals that do not support UTF-8, the symbol will be replaced with the
|
||||
string `k8s`.
|
||||
|
||||
Reference in new issue
Block a user