Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
tig: add zsh completion
Browse files Browse the repository at this point in the history
See also jonas/tig#433

Closes #43421.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
  • Loading branch information
wkentaro authored and dunn committed Aug 31, 2015
1 parent b9c1518 commit 472a7f0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Library/Formula/tig.rb
Expand Up @@ -3,6 +3,18 @@ class Tig < Formula
homepage "http://jonas.nitro.dk/tig/"
url "http://jonas.nitro.dk/tig/releases/tig-2.1.1.tar.gz"
sha256 "50c5179fd564b829b6b2cec087e66f10cf8799601de19350df0772ae77e4852f"
head "https://github.com/jonas/tig.git"

stable do
url "http://jonas.nitro.dk/tig/releases/tig-2.1.1.tar.gz"
sha256 "50c5179fd564b829b6b2cec087e66f10cf8799601de19350df0772ae77e4852f"

# Merged in HEAD; remove in next stable release
patch do
url "https://github.com/jonas/tig/commit/91912eb97da4f6907015dab41ef9bba315730854.diff"
sha256 "263e86b25f788eb158bdd667e112bc839debe9e3fe788cbc39cc9654b65b6c8a"
end
end

bottle do
cellar :any
Expand Down Expand Up @@ -32,5 +44,7 @@ def install
system "make", "install"
system "make install-doc-man" if build.with? "docs"
bash_completion.install "contrib/tig-completion.bash"
zsh_completion.install "contrib/tig-completion.zsh" => "_tig"
cp "#{bash_completion}/tig-completion.bash", zsh_completion
end
end

0 comments on commit 472a7f0

Please sign in to comment.