From c8808a80ee5fe44e9028031ae7c04c083ed0e1b9 Mon Sep 17 00:00:00 2001 From: Duy Pham Date: Sun, 18 Jun 2017 00:38:05 +0700 Subject: [PATCH] Add kubectl support --- modules/kubectl/README.sh | 4 ++++ modules/kubectl/init.zsh | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 modules/kubectl/README.sh create mode 100644 modules/kubectl/init.zsh diff --git a/modules/kubectl/README.sh b/modules/kubectl/README.sh new file mode 100644 index 00000000..2208b320 --- /dev/null +++ b/modules/kubectl/README.sh @@ -0,0 +1,4 @@ +KUBECTL +=== + +Add command suggestion for kubectl diff --git a/modules/kubectl/init.zsh b/modules/kubectl/init.zsh new file mode 100644 index 00000000..f6e9d1bb --- /dev/null +++ b/modules/kubectl/init.zsh @@ -0,0 +1,10 @@ +# +# Add command suggestion for kubectl +# +# Authors: +# Duy Pham +# + +if (( $+commands[kubectl] )); then + source <(kubectl completion zsh) +fi