Revert "Add ability to provide a cluster function in kubecontext segment"

This reverts commit a9d99c9cab.

Only a74603d30f was supposed to be merged
in https://github.com/romkatv/powerlevel10k/pull/106
This commit is contained in:
venyii 2019-07-07 20:29:03 +02:00
commit 9ed04d1969
No known key found for this signature in database
GPG key ID: 9513893490779576
2 changed files with 0 additions and 16 deletions

View file

@ -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