aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
authorvenyii <codesguard@cersei.de>2019-07-07 21:29:03 +0300
committervenyii <codesguard@cersei.de>2019-07-07 21:29:03 +0300
commit9ed04d1969a254ecdcbe68c931db05cbc3382550 (patch)
treeaf393fe660f29c287fa8705621e280997d870a99 /internal/p10k.zsh
parentc140d38695ee75fa29b8d6f34ffdbf135afa86c6 (diff)
Revert "Add ability to provide a cluster function in kubecontext segment"
This reverts commit a9d99c9cab69bd52edd3584ea426d8dacd6e8929. Only a74603d30f2e1fbbffc53346382ac280725a06c6 was supposed to be merged in https://github.com/romkatv/powerlevel10k/pull/106
Diffstat (limited to 'internal/p10k.zsh')
-rwxr-xr-xinternal/p10k.zsh3
1 files changed, 0 insertions, 3 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index afee38de..ab24528a 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -2197,9 +2197,6 @@ 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