Skip to content

Commit

Permalink
Update brew completion
Browse files Browse the repository at this point in the history
  • Loading branch information
rxbn committed Aug 5, 2022
1 parent e02e442 commit 4526817
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,11 @@ brews:
type: optional
install: |-
bin.install "otpgen"
# Install bash completion
output = Utils.safe_popen_read(bin/"otpgen", "completion", "bash")
(bash_completion/"otpgen").write output
# Install zsh completion
output = Utils.safe_popen_read(bin/"otpgen", "completion", "zsh")
(zsh_completion/"_otpgen").write output

0 comments on commit 4526817

Please sign in to comment.