fix(kubectx): k8s contexts with spaces (#12191)

master
lutra 2 years ago committed by GitHub
parent b5e6392f21
commit 69b0dfeadf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      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/%/%%}}"
}

Loading…
Cancel
Save