add kubectl plugin (#5298)
This commit is contained in:
parent
51c10783e1
commit
f19b6b24d3
7
plugins/kubectl/kubectl.plugin.zsh
Normal file
7
plugins/kubectl/kubectl.plugin.zsh
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Autocompletion for kubectl, the command line interface for Kubernetes
|
||||
#
|
||||
# Author: https://github.com/pstadler
|
||||
|
||||
if [ $commands[kubectl] ]; then
|
||||
source <(kubectl completion zsh)
|
||||
fi
|
Loading…
Reference in a new issue