Skip to content

Instantly share code, notes, and snippets.

View yashshanker's full-sized avatar
:octocat:
Evolving

Yash Shanker Srivastava yashshanker

:octocat:
Evolving
View GitHub Profile
@yashshanker
yashshanker / README.md
Created September 30, 2025 18:42 — forked from GusAntoniassi/README.md
Configure autocompletion to kubectl with zsh

kubectl with ZSH (oh-my-zsh)

How to configure

Use the following commands to add the kubectl autocomplete to zsh:

mkdir -p ~/.oh-my-zsh/custom/plugins/kubectl-autocomplete/
kubectl completion zsh > ~/.oh-my-zsh/custom/plugins/kubectl-autocomplete/kubectl-autocomplete.plugin.zsh