Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

p10k show on command

# Show prompt segment "kubecontext" only when the command you are typing
# invokes kubectl, helm, kubens, kubectx, oc, istioctl, kogito, k9s, helmfile, flux, fluxctl or stern.
typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx|oc|istioctl|kogito|k9s|helmfile|flux|fluxctl|stern'
Source by github.com #
 
PREVIOUS NEXT
Tagged: #show #command
ADD COMMENT
Topic
Name
4+3 =