1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-11 00:00:06 +00:00

Merge pull request #891 from krmcbride/patch-1

kubecontext: fix context, namespace comparison
This commit is contained in:
Ben Hilburn 2018-07-07 11:22:15 -04:00 committed by GitHub
commit 51a8c283e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1429,7 +1429,7 @@ prompt_kubecontext() {
local k8s_final_text=""
if [[ "$k8s_context" == "k8s_namespace" ]]; then
if [[ "$k8s_context" == "$k8s_namespace" ]]; then
# No reason to print out the same identificator twice
k8s_final_text="$k8s_context"
else