OpenShift CLI 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-oc.git ~/.zprezto-contrib/oc
-
Add the module to the Prezto modules to load in your
~/.zpreztorc
:zstyle ':prezto:load' pmodule \ oc
oca
is an alias foroc apply
ocA
is an alias foroc attach
ocaf
is an alias foroc apply -f
ocaF
is an alias foroc apply -R -f
ocC
is an alias foroc config
occ
is an alias foroc create
ocD
is an alias foroc delete
ocd
is an alias foroc describe
oce
is an alias foroc edit
ocg
is an alias foroc get
ocl
is an alias foroc logs
ocp
is an alias foroc port-forward
ocP
is an alias foroc proxy
ocr
is an alias foroc run
ocx
is an alias foroc exec
ocX
is an alias foroc expose