summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rwxr-xr-xinternal/p10k.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index c339461a..96a28a46 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -2142,6 +2142,9 @@ prompt_kubecontext() {
fi
done
fi
+ if [[ -n $POWERLEVEL9K_KUBECONTEXT_CONTEXT_FUNCTION ]]; then
+ ctx=$($POWERLEVEL9K_KUBECONTEXT_CONTEXT_FUNCTION $ctx)
+ fi
_p9k_cache_set "$ctx" "$suf"
fi