ohmyzsh/plugins/kubectl/kubectl.plugin.zsh
2017-08-16 09:11:13 -07:00

11 lines
248 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
if [ $commands[kops] ]; then
source <(kops completion zsh)
fi