From f19b6b24d3a88d72c5d62c0ef47d3b384f06d06f Mon Sep 17 00:00:00 2001 From: Patrick Stadler Date: Mon, 15 Aug 2016 02:30:55 +0200 Subject: [PATCH] add kubectl plugin (#5298) --- plugins/kubectl/kubectl.plugin.zsh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 plugins/kubectl/kubectl.plugin.zsh diff --git a/plugins/kubectl/kubectl.plugin.zsh b/plugins/kubectl/kubectl.plugin.zsh new file mode 100644 index 00000000..51ae142a --- /dev/null +++ b/plugins/kubectl/kubectl.plugin.zsh @@ -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