Kubectl module for the Prezto Zsh configuration framework.
-
Set the module directory using
:prezto:load:pmodule-dirs
setting in~/.zpreztorc
:zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib
-
Clone this repository:
git clone https://github.com/prezto-contributions/prezto-kubectl.git ~/.zprezto-contrib/kubectl
-
Add the module to the Prezto modules to load in your
~/.zpreztorc
:zstyle ':prezto:load' pmodule \ kubectl
kc
is an alias forkubectl
kca
is an alias forkubectl apply
kcA
is an alias forkubectl attach
kcaf
is an alias forkubectl apply -f
kcaF
is an alias forkubectl apply -R -f
kcC
is an alias forkubectl config
kcc
is an alias forkubectl create
kcD
is an alias forkubectl delete
kcd
is an alias forkubectl describe
kce
is an alias forkubectl edit
kcg
is an alias forkubectl get
kcl
is an alias forkubectl logs
kcp
is an alias forkubectl port-forward
kcP
is an alias forkubectl proxy
kcr
is an alias forkubectl run
kcx
is an alias forkubectl exec
kcX
is an alias forkubectl expose