expand c-escapes in kubectl (#1361)

This commit is contained in:
Roman Perepelitsa 2021-04-16 21:42:41 +02:00
parent b55ad16bdf
commit cd865da150

View file

@ -4388,7 +4388,7 @@ prompt_kubecontext() {
fi
done
fi
_p9k_cache_stat_set "$name" "$namespace" "$cluster" "$user" "$cloud_name" "$cloud_account" "$cloud_zone" "$cloud_cluster" "$text" "$state"
_p9k_cache_stat_set "${(g::)name}" "${(g::)namespace}" "${(g::)cluster}" "${(g::)user}" "${(g::)cloud_name}" "${(g::)cloud_account}" "${(g::)cloud_zone}" "${(g::)cloud_cluster}" "${(g::)text}" "$state"
fi
typeset -g P9K_KUBECONTEXT_NAME=$_p9k__cache_val[1]