Kubecolor
is an opersource tool that prints colorized outputs from the main kubernetes cli tool kubectl
, so this is a functional plugin thats allows you to add functional keyboard shortcuts to ZSH
and Oh-My-ZSH
brew install hidetatz/tap/kubecolor
brew install fzf
$(brew --prefix)/opt/fzf/install
Follow steps described in the official GitHub Repo
git clone https://github.com/devopstales/zsh-kubecolor.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-kubecolor
Edit your .zshrc
config file and add into the plugins configuration to enable shortcuts:
export PATH="$PATH:$HOME/.oh-my-zsh/custom/plugins/zsh-kubecolor/bin"
plugins=(
git
plugin-a
plugin-b
plugin-c
zsh-kubecolor
plugin-n
)
exec $SHELL
# OR
source ~/.zshrc
Enjoy it and don't forget submit any comment or issue.