Skip to content

Commit d2e0f57

Browse files
authored
Merge pull request #403 from njhale/chore/brew-completions
chore: generate shell completions on brew install
2 parents 15ef823 + fc5c7fb commit d2e0f57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.goreleaser.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ brews:
6060
- description: "GPTScript CLI"
6161
install: |
6262
bin.install "gptscript"
63+
generate_completions_from_executable(bin/"gptscript", "completion", shells: [:bash, :zsh, :fish])
6364
homepage: "https://github.com/gptscript-ai/gptscript"
6465
skip_upload: false
6566
folder: "Formula"

0 commit comments

Comments
 (0)