From b32e16dfcb7c4d8e26195bb692e2717ba4fef536 Mon Sep 17 00:00:00 2001 From: darklore Date: Fri, 10 Jan 2020 19:04:05 +0900 Subject: [PATCH] Add zsh completion to homebrew --- .goreleaser.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 03ab0555085b..f48670205c11 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -83,6 +83,8 @@ brews: bin.install "golangci-lint" output = Utils.popen_read("#{bin}/golangci-lint completion bash") (bash_completion/"golangci-lint").write output + output = Utils.popen_read("#{bin}/golangci-lint completion zsh") + (zsh_completion/"_golangci-lint").write output prefix.install_metafiles test: | system "#{bin}/golangci-lint --version"