diff options
author | Max Rydahl Andersen <max.andersen@gmail.com> | 2020-01-25 20:18:30 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-01-25 20:18:30 +0300 |
commit | 774701432e99685e3cc57cd4a4589989bff748a1 (patch) | |
tree | bb4b36fbc6ffd5536f52edcb2daacc64a003c346 | |
parent | 833cc73f73dc46744b21683f92d4ac55eb9c369b (diff) |
Add `oc` to `POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND` (#436)
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | config/p10k-classic.zsh | 2 | ||||
-rw-r--r-- | config/p10k-lean-8colors.zsh | 2 | ||||
-rw-r--r-- | config/p10k-lean.zsh | 2 | ||||
-rw-r--r-- | config/p10k-rainbow.zsh | 2 |
5 files changed, 6 insertions, 6 deletions
@@ -495,8 +495,8 @@ a releavant tool. ```zsh # Show prompt segment "kubecontext" only when the command you are typing -# invokes kubectl, helm, kubens or kubectx. -typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx' +# invokes kubectl, helm, kubens, kubectx or oc. +typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx|oc' ``` Configs created by `p10k configure` may contain parameters of this kind. To customize when different diff --git a/config/p10k-classic.zsh b/config/p10k-classic.zsh index 09dfbf78..8406f291 100644 --- a/config/p10k-classic.zsh +++ b/config/p10k-classic.zsh @@ -808,7 +808,7 @@ #############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]############# # Show kubecontext only when the the command you are typing invokes one of these tools. # Tip: Remove the next line to always show kubecontext. - typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx' + typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx|oc' # Kubernetes context classes for the purpose of using different colors, icons and expansions with # different contexts. diff --git a/config/p10k-lean-8colors.zsh b/config/p10k-lean-8colors.zsh index 2f972502..43cd7a42 100644 --- a/config/p10k-lean-8colors.zsh +++ b/config/p10k-lean-8colors.zsh @@ -781,7 +781,7 @@ #############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]############# # Show kubecontext only when the the command you are typing invokes one of these tools. # Tip: Remove the next line to always show kubecontext. - typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx' + typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx|oc' # Kubernetes context classes for the purpose of using different colors, icons and expansions with # different contexts. diff --git a/config/p10k-lean.zsh b/config/p10k-lean.zsh index c4525566..02e420c2 100644 --- a/config/p10k-lean.zsh +++ b/config/p10k-lean.zsh @@ -781,7 +781,7 @@ #############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]############# # Show kubecontext only when the the command you are typing invokes one of these tools. # Tip: Remove the next line to always show kubecontext. - typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx' + typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx|oc' # Kubernetes context classes for the purpose of using different colors, icons and expansions with # different contexts. diff --git a/config/p10k-rainbow.zsh b/config/p10k-rainbow.zsh index 6d68dde0..7b2ee6ba 100644 --- a/config/p10k-rainbow.zsh +++ b/config/p10k-rainbow.zsh @@ -837,7 +837,7 @@ #############[ kubecontext: current kubernetes context (https://kubernetes.io/) ]############# # Show kubecontext only when the the command you are typing invokes one of these tools. # Tip: Remove the next line to always show kubecontext. - typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx' + typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx|oc' # Kubernetes context classes for the purpose of using different colors, icons and expansions with # different contexts. |