Skip to content

Commit 60f1cac

Browse files
authored
Merge pull request #247102 from LangLangBart/fabric-ai-completions
fabric-ai: add shell completions
2 parents 945b0d5 + 57b0a58 commit 60f1cac

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

Formula/f/fabric-ai.rb

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,22 @@ class FabricAi < Formula
77
head "https://github.com/danielmiessler/fabric.git", branch: "main"
88

99
bottle do
10-
sha256 cellar: :any_skip_relocation, arm64_tahoe: "e6631f44ec4f5dd42127eedb5b503f6f2acbe0aee823d5ce65b005228d2a4ba3"
11-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "e6631f44ec4f5dd42127eedb5b503f6f2acbe0aee823d5ce65b005228d2a4ba3"
12-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "e6631f44ec4f5dd42127eedb5b503f6f2acbe0aee823d5ce65b005228d2a4ba3"
13-
sha256 cellar: :any_skip_relocation, sonoma: "83352d1d066d5a3432c95bdb5621a0572defadc5be17c0b981f4bf38ff6d4c1e"
14-
sha256 cellar: :any_skip_relocation, x86_64_linux: "a550fa188baaa3bb9bfd2663b2600994f50a8e668314757a82dd4ec25c98f661"
10+
rebuild 1
11+
sha256 cellar: :any_skip_relocation, arm64_tahoe: "165f3c14db3f93edd1b9ec627438b907c38f8d08381be09ed17bdc0448f220cb"
12+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "165f3c14db3f93edd1b9ec627438b907c38f8d08381be09ed17bdc0448f220cb"
13+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "165f3c14db3f93edd1b9ec627438b907c38f8d08381be09ed17bdc0448f220cb"
14+
sha256 cellar: :any_skip_relocation, sonoma: "7294c2ed6ccde95d950cae40f58bd9696f7d1e0a1053a296974650fcc7a47d5d"
15+
sha256 cellar: :any_skip_relocation, x86_64_linux: "975cf82b4e998c3e070612495728b95003daff53b0464d996d6d7c8b02610416"
1516
end
1617

1718
depends_on "go" => :build
1819

1920
def install
2021
system "go", "build", *std_go_args(ldflags: "-s -w"), "./cmd/fabric"
22+
# Install completions
23+
bash_completion.install "completions/fabric.bash" => "fabric-ai"
24+
fish_completion.install "completions/fabric.fish" => "fabric-ai.fish"
25+
zsh_completion.install "completions/_fabric" => "_fabric-ai"
2126
end
2227

2328
test do

0 commit comments

Comments
 (0)