From 44473d785e435373350bc6b3253eec104c05b404 Mon Sep 17 00:00:00 2001 From: Michal Halenka Date: Wed, 8 Aug 2018 14:12:55 +0200 Subject: [PATCH] Add doctl autocompletion (#6501) --- plugins/doctl/doctl.plugin.zsh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 plugins/doctl/doctl.plugin.zsh diff --git a/plugins/doctl/doctl.plugin.zsh b/plugins/doctl/doctl.plugin.zsh new file mode 100644 index 000000000..d23ed085c --- /dev/null +++ b/plugins/doctl/doctl.plugin.zsh @@ -0,0 +1,9 @@ +# Autocompletion for doctl, the command line tool for DigitalOcean service +# +# doctl project: https://github.com/digitalocean/doctl +# +# Author: https://github.com/HalisCz + +if [ $commands[doctl] ]; then + source <(doctl completion zsh) +fi