Add 'kogito' to POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND

Signed-off-by: David Ward <dward@redhat.com>
This commit is contained in:
David Ward 2020-03-04 14:11:03 -05:00
commit 4a60273223
5 changed files with 8 additions and 8 deletions

View file

@ -177,8 +177,8 @@ Here's the relevant parameter for kubernetes context:
```zsh
# Show prompt segment "kubecontext" only when the command you are typing
# invokes kubectl, helm, kubens, kubectx, oc or istioctl.
typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx|oc|istioctl'
# invokes kubectl, helm, kubens, kubectx, oc, istioctl or kogito.
typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx|oc|istioctl|kogito'
```
To customize when different prompt segments are shown, open `~/.p10k.zsh`, search for
@ -803,8 +803,8 @@ a relevant tool.
```zsh
# Show prompt segment "kubecontext" only when the command you are typing
# invokes kubectl, helm, kubens, kubectx, oc or istioctl.
typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx|oc|istioctl'
# invokes kubectl, helm, kubens, kubectx, oc, istioctl or kogito.
typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx|oc|istioctl|kogito'
```
Configs created by `p10k configure` may contain parameters of this kind. To customize when different