Skip to content

devopstales/zsh-kubecolor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

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

Install

1 - Pre-Requisites

brew install hidetatz/tap/kubecolor
brew install fzf
$(brew --prefix)/opt/fzf/install

2 - Configure Kubecolor

Follow steps described in the official GitHub Repo

3 - Install this custom plugin

git clone https://github.com/devopstales/zsh-kubecolor.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-kubecolor

4 - Add to ZSHRC

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
)

5 - Reload your shell or source zshrc

exec $SHELL
# OR
source ~/.zshrc

Enjoy it and don't forget submit any comment or issue.

About

kubecolor zsh plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages