From 2f824180803839c53741fc044afe02dc30e68ec5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Mac=C3=ADk?= Date: Mon, 3 Jun 2019 13:23:52 +0200 Subject: [PATCH] Add a completion plugin for minishift --- plugins/minishift/README.md | 9 +++++++++ plugins/minishift/minishift.plugin.zsh | 5 +++++ 2 files changed, 14 insertions(+) create mode 100644 plugins/minishift/README.md create mode 100644 plugins/minishift/minishift.plugin.zsh diff --git a/plugins/minishift/README.md b/plugins/minishift/README.md new file mode 100644 index 000000000..82666667a --- /dev/null +++ b/plugins/minishift/README.md @@ -0,0 +1,9 @@ +# minishift + +This plugin provides completion for [minishift](https://github.com/minishift/minishift/). + +To use it, add `minishift` to the plugins array in your .zshrc file. + +``` +plugins=(... minishift) +``` diff --git a/plugins/minishift/minishift.plugin.zsh b/plugins/minishift/minishift.plugin.zsh new file mode 100644 index 000000000..73b986f06 --- /dev/null +++ b/plugins/minishift/minishift.plugin.zsh @@ -0,0 +1,5 @@ +# Autocompletion plugin for minishift. + +if [ $commands[minishift] ]; then + source <(minishift completion zsh) +fi