summaryrefslogtreecommitdiffstats
path: root/zsh/oh-my-zsh/plugins/kubectx/README.md
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-03-25 16:43:09 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-03-25 16:43:09 +0530
commita62114c91f2070c8c8453d117f3d81dc113e41ff (patch)
treef266e87af29a08c01f82bc32dd7d463d8ec4441a /zsh/oh-my-zsh/plugins/kubectx/README.md
parentaf120ab348f2e1a5a39dec035ed9dcf84189a64e (diff)
downloaddotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.gz
dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.bz2
dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.zip
dotfile update
Diffstat (limited to 'zsh/oh-my-zsh/plugins/kubectx/README.md')
-rw-r--r--zsh/oh-my-zsh/plugins/kubectx/README.md26
1 files changed, 0 insertions, 26 deletions
diff --git a/zsh/oh-my-zsh/plugins/kubectx/README.md b/zsh/oh-my-zsh/plugins/kubectx/README.md
deleted file mode 100644
index 98f1cf0..0000000
--- a/zsh/oh-my-zsh/plugins/kubectx/README.md
+++ /dev/null
@@ -1,26 +0,0 @@
-# kubectx - show active kubectl context
-
-This plugins adds ```kubectx_prompt_info()``` function. It shows name of the
-active kubectl context (```kubectl config current-context```).
-
-You can use it to customize prompt and know if You are on prod cluster ;)
-
-_Example_. Add to **.zshrc**:
-
-```
-RPS1='$(kubectx_prompt_info)'
-```
-
-### custom ctx names
-
-One can rename default context name for better readability.
-
-_Example_. Add to **.zshrc**:
-```
-kubectx_mapping[minikube]="mini"
-kubectx_mapping[context_name_from_kubeconfig]="$emoji[wolf_face]"
-kubectx_mapping[production_cluster]="%{$fg[yellow]%}prod!%{$reset_color%}"
-```
-
-![staging](stage.png)
-![production](prod.png)