diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2019-07-07 12:00:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-07 12:00:44 +0300 |
commit | 921f9e664ac726661a2e9fecc82ea6243c37ae36 (patch) | |
tree | d450efad1721641ad0eed3c7d901274a6cf59bb8 /internal | |
parent | bb4e9d4a5a0f284f2141dbc94e596ee3df33e49b (diff) | |
parent | a74603d30f2e1fbbffc53346382ac280725a06c6 (diff) |
Merge pull request #106 from venyii/kubecontext-cluster-func
Fix a typo in docs.
Diffstat (limited to 'internal')
-rwxr-xr-x | internal/p10k.zsh | 3 |
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 |