Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit 472a7f0

Browse files
wkentarodunn
authored andcommitted
tig: add zsh completion
See also jonas/tig#433 Closes #43421. Signed-off-by: Alex Dunn <[email protected]>
1 parent b9c1518 commit 472a7f0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Library/Formula/tig.rb

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@ class Tig < Formula
33
homepage "http://jonas.nitro.dk/tig/"
44
url "http://jonas.nitro.dk/tig/releases/tig-2.1.1.tar.gz"
55
sha256 "50c5179fd564b829b6b2cec087e66f10cf8799601de19350df0772ae77e4852f"
6+
head "https://github.com/jonas/tig.git"
7+
8+
stable do
9+
url "http://jonas.nitro.dk/tig/releases/tig-2.1.1.tar.gz"
10+
sha256 "50c5179fd564b829b6b2cec087e66f10cf8799601de19350df0772ae77e4852f"
11+
12+
# Merged in HEAD; remove in next stable release
13+
patch do
14+
url "https://github.com/jonas/tig/commit/91912eb97da4f6907015dab41ef9bba315730854.diff"
15+
sha256 "263e86b25f788eb158bdd667e112bc839debe9e3fe788cbc39cc9654b65b6c8a"
16+
end
17+
end
618

719
bottle do
820
cellar :any
@@ -32,5 +44,7 @@ def install
3244
system "make", "install"
3345
system "make install-doc-man" if build.with? "docs"
3446
bash_completion.install "contrib/tig-completion.bash"
47+
zsh_completion.install "contrib/tig-completion.zsh" => "_tig"
48+
cp "#{bash_completion}/tig-completion.bash", zsh_completion
3549
end
3650
end

0 commit comments

Comments
 (0)