Skip to content

OpenShift CLI module for Prezto Zsh configuration framework

License

Notifications You must be signed in to change notification settings

prezto-contributions/prezto-oc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prezto-oc

OpenShift CLI module for the Prezto Zsh configuration framework.

Installation

  1. Set the module directory using :prezto:load:pmodule-dirs setting in ~/.zpreztorc:

    zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib
    
  2. Clone this repository:

    git clone https://github.com/prezto-contributions/prezto-oc.git ~/.zprezto-contrib/oc
    
  3. Add the module to the Prezto modules to load in your ~/.zpreztorc:

    zstyle ':prezto:load' pmodule \
      oc
    

Aliases

  • oca is an alias for oc apply
  • ocA is an alias for oc attach
  • ocaf is an alias for oc apply -f
  • ocaF is an alias for oc apply -R -f
  • ocC is an alias for oc config
  • occ is an alias for oc create
  • ocD is an alias for oc delete
  • ocd is an alias for oc describe
  • oce is an alias for oc edit
  • ocg is an alias for oc get
  • ocl is an alias for oc logs
  • ocp is an alias for oc port-forward
  • ocP is an alias for oc proxy
  • ocr is an alias for oc run
  • ocx is an alias for oc exec
  • ocX is an alias for oc expose

About

OpenShift CLI module for Prezto Zsh configuration framework

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages