Skip to content

prezto-contributions/prezto-kubectl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prezto-kubectl

Kubectl 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-kubectl.git ~/.zprezto-contrib/kubectl
    
  3. Add the module to the Prezto modules to load in your ~/.zpreztorc:

    zstyle ':prezto:load' pmodule \
      kubectl
    

Aliases

  • kc is an alias for kubectl
  • kca is an alias for kubectl apply
  • kcA is an alias for kubectl attach
  • kcaf is an alias for kubectl apply -f
  • kcaF is an alias for kubectl apply -R -f
  • kcC is an alias for kubectl config
  • kcc is an alias for kubectl create
  • kcD is an alias for kubectl delete
  • kcd is an alias for kubectl describe
  • kce is an alias for kubectl edit
  • kcg is an alias for kubectl get
  • kcl is an alias for kubectl logs
  • kcp is an alias for kubectl port-forward
  • kcP is an alias for kubectl proxy
  • kcr is an alias for kubectl run
  • kcx is an alias for kubectl exec
  • kcX is an alias for kubectl expose

Releases

No releases published

Packages

No packages published

Languages