diff options
| author | lutra <49721741+lutra@users.noreply.github.com> | 2024-02-02 17:12:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-02 17:12:36 +0100 |
| commit | 69b0dfeadf35a6da8de41501149cf3a3817218cf (patch) | |
| tree | 356184760f09431ea62e1991912d3a2568eb93e0 /plugins | |
| parent | b5e6392f2140b7aa49c248aa6c232a6922d3311b (diff) | |
| download | zsh-69b0dfeadf35a6da8de41501149cf3a3817218cf.tar.gz zsh-69b0dfeadf35a6da8de41501149cf3a3817218cf.tar.bz2 zsh-69b0dfeadf35a6da8de41501149cf3a3817218cf.zip | |
fix(kubectx): k8s contexts with spaces (#12191)
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/kubectx/kubectx.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kubectx/kubectx.plugin.zsh b/plugins/kubectx/kubectx.plugin.zsh index 6096feeae..a3210facc 100644 --- a/plugins/kubectx/kubectx.plugin.zsh +++ b/plugins/kubectx/kubectx.plugin.zsh @@ -9,5 +9,5 @@ function kubectx_prompt_info() { # use value in associative array if it exists # otherwise fall back to the context name - echo "${kubectx_mapping[$current_ctx]:-${current_ctx:gs/%/%%}}" + echo "${kubectx_mapping[\"$current_ctx\"]:-${current_ctx:gs/%/%%}}" } |
