Skip to content

Commit a22c6da

Browse files
committed
smug: add completion support
Signed-off-by: Rui Chen <[email protected]>
1 parent 4c3dd2b commit a22c6da

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Formula/s/smug.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ class Smug < Formula
1818

1919
def install
2020
system "go", "build", *std_go_args(ldflags: "-s -w -X main.version=#{version}")
21+
22+
bash_completion.install "completion/smug.bash" => "smug"
23+
fish_completion.install "completion/smug.fish"
2124
end
2225

2326
test do

0 commit comments

Comments
 (0)