summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index dc7f0388..534a5892 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -1366,7 +1366,7 @@ prompt_dir_writable() {
# Kubernetes Current Context
prompt_kubecontext() {
- local kubectl_version=$(kubectl version 2>/dev/null)
+ local kubectl_version=$(kubectl version --client 2>/dev/null)
if [[ -n "$kubectl_version" ]]; then
# Get the current Kubernetes config context's namespaece