mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2025-12-04 21:56:46 +01:00
Merge pull request #891 from krmcbride/patch-1
kubecontext: fix context, namespace comparison
This commit is contained in:
commit
51a8c283e6
1 changed files with 1 additions and 1 deletions
|
|
@ -1429,7 +1429,7 @@ prompt_kubecontext() {
|
||||||
|
|
||||||
local k8s_final_text=""
|
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
|
# No reason to print out the same identificator twice
|
||||||
k8s_final_text="$k8s_context"
|
k8s_final_text="$k8s_context"
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue