Skip to content

Commit b32e16d

Browse files
darkloretpounds
authored andcommitted
Add zsh completion to homebrew
1 parent 77dabb3 commit b32e16d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.goreleaser.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ brews:
8383
bin.install "golangci-lint"
8484
output = Utils.popen_read("#{bin}/golangci-lint completion bash")
8585
(bash_completion/"golangci-lint").write output
86+
output = Utils.popen_read("#{bin}/golangci-lint completion zsh")
87+
(zsh_completion/"_golangci-lint").write output
8688
prefix.install_metafiles
8789
test: |
8890
system "#{bin}/golangci-lint --version"

0 commit comments

Comments
 (0)