Skip to content

Commit

Permalink
Setup fish completion when installing with Homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Jan 30, 2020
1 parent 526714c commit 1be8bb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ brews:
bin.install "bin/gh"
(bash_completion/"gh.sh").write `#{bin}/gh completion -s bash`
(zsh_completion/"_gh").write `#{bin}/gh completion -s zsh`
(fish_completion/"gh.fish").write `#{bin}/gh completion -s fish`
test: |
help_text = shell_output("#{bin}/gh --help")
assert_includes help_text, "Usage:"
Expand Down

0 comments on commit 1be8bb9

Please sign in to comment.