Skip to content

Commit 52a3d62

Browse files
authored
Merge pull request #235806 from Homebrew/ov-completion
ov: add shell completion support
2 parents 713de0a + f56337e commit 52a3d62

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

Formula/o/ov.rb

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,22 @@ class Ov < Formula
77
head "https://github.com/noborus/ov.git", branch: "master"
88

99
bottle do
10-
sha256 cellar: :any_skip_relocation, arm64_sequoia: "571e44a28916a6a1167be4ecf39bd1d2fb66a35907b2004e4533c438d1f7b33c"
11-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "571e44a28916a6a1167be4ecf39bd1d2fb66a35907b2004e4533c438d1f7b33c"
12-
sha256 cellar: :any_skip_relocation, arm64_ventura: "571e44a28916a6a1167be4ecf39bd1d2fb66a35907b2004e4533c438d1f7b33c"
13-
sha256 cellar: :any_skip_relocation, sonoma: "347c7da7ac885ac472d8571bbf47c26cd4b5b38dd8b5f69dc9cdaacca1a65fe9"
14-
sha256 cellar: :any_skip_relocation, ventura: "347c7da7ac885ac472d8571bbf47c26cd4b5b38dd8b5f69dc9cdaacca1a65fe9"
15-
sha256 cellar: :any_skip_relocation, x86_64_linux: "480008502c8a40ed47cf1c3c81777dd3f26174c889fd8a683f3310500c56a936"
10+
rebuild 1
11+
sha256 cellar: :any_skip_relocation, arm64_sequoia: "9053e18bf72c956ef949f97b3d2f4f072aae8790313f0b7fe11affe39d2432f8"
12+
sha256 cellar: :any_skip_relocation, arm64_sonoma: "9053e18bf72c956ef949f97b3d2f4f072aae8790313f0b7fe11affe39d2432f8"
13+
sha256 cellar: :any_skip_relocation, arm64_ventura: "9053e18bf72c956ef949f97b3d2f4f072aae8790313f0b7fe11affe39d2432f8"
14+
sha256 cellar: :any_skip_relocation, sonoma: "5d177c5773ec508f02fe5e73bb1abca149007ba3562218753463bd43d0f02e1c"
15+
sha256 cellar: :any_skip_relocation, ventura: "5d177c5773ec508f02fe5e73bb1abca149007ba3562218753463bd43d0f02e1c"
16+
sha256 cellar: :any_skip_relocation, x86_64_linux: "7d3de36c5bde09fddc75255b9cfb4f5f189e564d1e8996bb66d5b24684349d54"
1617
end
1718

1819
depends_on "go" => :build
1920

2021
def install
2122
ldflags = "-s -w -X main.Version=#{version} -X main.Revision=#{tap.user}"
2223
system "go", "build", *std_go_args(ldflags:)
24+
25+
generate_completions_from_executable(bin/"ov", "--completion", shells: [:bash, :zsh, :fish, :pwsh])
2326
end
2427

2528
test do

0 commit comments

Comments
 (0)