From fc5c7fbe76ca46be4a4ee3dca368690bdbb2c375 Mon Sep 17 00:00:00 2001 From: Nick Hale <4175918+njhale@users.noreply.github.com> Date: Thu, 30 May 2024 18:49:57 -0400 Subject: [PATCH] chore: generate shell completions on brew install Signed-off-by: Nick Hale <4175918+njhale@users.noreply.github.com> --- .goreleaser.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index dbd8b6d2..a0ad8146 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -60,6 +60,7 @@ brews: - description: "GPTScript CLI" install: | bin.install "gptscript" + generate_completions_from_executable(bin/"gptscript", "completion", shells: [:bash, :zsh, :fish]) homepage: "https://github.com/gptscript-ai/gptscript" skip_upload: false folder: "Formula"