home/.oh-my-zsh/plugins/kubectl/kubectl.plugin.zsh

8 lines
183 B
Bash

# Autocompletion for kubectl, the command line interface for Kubernetes
#
# Author: https://github.com/pstadler
if [ $commands[kubectl] ]; then
source <(kubectl completion zsh)
fi