Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 601 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 601 Bytes

zsh-active-kubens - Show active kubens

zsh-active-kubens refer to kubectx

This plugins adds kubens_prompt_info() function. It shows name of the active kubens.

Usage Oh-my-zsh

  1. Clone this repository in oh-my-zsh's plugins directory:
git clone https://github.com/tyanogi/zsh-active-kubens.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-active-kubens
  1. Activate the plugin in ~/.zshrc:
plugins=( [plugins...] zsh-active-kubens)
  1. Restart zsh (such as by opening a new instance of your terminal emulator).