From 84b1163b88f52db0715d05d87fc02ee6975cb860 Mon Sep 17 00:00:00 2001 From: Jesse Whitham Date: Fri, 6 Oct 2017 13:29:53 +1300 Subject: [PATCH 1/3] Add kops plugin --- plugins/kops/kops.plugin.zsh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 plugins/kops/kops.plugin.zsh diff --git a/plugins/kops/kops.plugin.zsh b/plugins/kops/kops.plugin.zsh new file mode 100644 index 000000000..f4fc6f442 --- /dev/null +++ b/plugins/kops/kops.plugin.zsh @@ -0,0 +1,7 @@ +# Autocompletion for kubectl, the command line interface for Kubernetes +# +# Author: https://github.com/whithajess + +if [ $commands[kops] ]; then + source <(kops completion zsh) +fi From e612e29324edd1bc99ae1ecf83544150c4bd3b38 Mon Sep 17 00:00:00 2001 From: Jesse Whitham Date: Thu, 2 Nov 2017 11:48:08 +1300 Subject: [PATCH 2/3] Fix up my copy-paste comments --- plugins/kops/kops.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/kops/kops.plugin.zsh b/plugins/kops/kops.plugin.zsh index f4fc6f442..472eddc76 100644 --- a/plugins/kops/kops.plugin.zsh +++ b/plugins/kops/kops.plugin.zsh @@ -1,4 +1,4 @@ -# Autocompletion for kubectl, the command line interface for Kubernetes +# Autocompletion for kops, the command line interface for creating/managing Kubernetes clusters # # Author: https://github.com/whithajess From 0c887cbd52db984966bfbf3050dc4a8b08391ac4 Mon Sep 17 00:00:00 2001 From: Jesse Whitham Date: Thu, 2 Nov 2017 11:48:47 +1300 Subject: [PATCH 3/3] Add kops README --- plugins/kops/README.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 plugins/kops/README.md diff --git a/plugins/kops/README.md b/plugins/kops/README.md new file mode 100644 index 000000000..11d25695e --- /dev/null +++ b/plugins/kops/README.md @@ -0,0 +1,5 @@ +# Kops Plugin + +This plugin provides autocompletion for [Kops](https://github.com/kubernetes/kops) commands. + +The zsh completion is maintained in the kops repository.