Skip to content

Commit 979e81f

Browse files
authored
brew: setup shell completion
1 parent 1c4a00d commit 979e81f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Formula/stackit.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ class Stackit < Formula
1616

1717
def install
1818
bin.install "stackit"
19+
20+
generate_completions_from_executable(bin/"stackit", "completion")
1921
end
2022
end
2123
if Hardware::CPU.arm?
@@ -24,6 +26,8 @@ def install
2426

2527
def install
2628
bin.install "stackit"
29+
30+
generate_completions_from_executable(bin/"stackit", "completion")
2731
end
2832
end
2933
end
@@ -36,6 +40,8 @@ def install
3640

3741
def install
3842
bin.install "stackit"
43+
44+
generate_completions_from_executable(bin/"stackit", "completion")
3945
end
4046
end
4147
end
@@ -46,6 +52,8 @@ def install
4652

4753
def install
4854
bin.install "stackit"
55+
56+
generate_completions_from_executable(bin/"stackit", "completion")
4957
end
5058
end
5159
end

0 commit comments

Comments
 (0)