ohmyzsh/plugins/available/kubectl/kubectl.plugin.zsh

7 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