Merge pull request #106 from venyii/kubecontext-cluster-func

Fix a typo in docs.
This commit is contained in:
Roman Perepelitsa 2019-07-07 11:00:44 +02:00 committed by GitHub
commit 921f9e664a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 1 deletions

View file

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