From 45258d8412b51c56ff2ef006dac1cc0e47cc4fa8 Mon Sep 17 00:00:00 2001 From: Ang Long Date: Thu, 13 Jul 2017 14:37:07 +0800 Subject: [PATCH] lean-cli: install bash and zsh completions Closes #15577. Signed-off-by: ilovezfs --- Formula/lean-cli.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Formula/lean-cli.rb b/Formula/lean-cli.rb index 2fac1fbd38..1c7d99d2ae 100644 --- a/Formula/lean-cli.rb +++ b/Formula/lean-cli.rb @@ -22,6 +22,8 @@ class LeanCli < Formula system "go", "build", "-o", bin/"lean", "-ldflags", "-X main.pkgType=#{build_from}", "github.com/leancloud/lean-cli/lean" + bash_completion.install "misc/lean-bash-completion" => "lean" + zsh_completion.install "misc/lean-zsh-completion" => "_lean" end test do