mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-10-07 03:56:20 +00:00
kubecontext: fix context, namespace comparison
This commit is contained in:
1 parent
0e3c1924fe
commit
534ec66466
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user