homebrew-core/Formula/antigen.rb
Artem Medvedev 6564650876 antigen 1.3.5
Closes #9624.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
2017-02-04 09:04:33 +01:00

24 lines
747 B
Ruby

class Antigen < Formula
desc "Plugin manager for zsh, inspired by oh-my-zsh and vundle."
homepage "http://antigen.sharats.me/"
url "https://github.com/zsh-users/antigen/releases/download/v1.3.5/v1.3.5.tar.gz"
sha256 "0b6c645498b5a6e0367b2d471eed461d262d65773b4039cc13fb727f7cdf2742"
head "https://github.com/zsh-users/antigen.git"
bottle :unneeded
def install
pkgshare.install "bin/antigen.zsh"
end
def caveats; <<-EOS.undent
To activate antigen, add the following to your ~/.zshrc:
source #{HOMEBREW_PREFIX}/share/antigen/antigen.zsh
EOS
end
test do
(testpath/".zshrc").write "source #{HOMEBREW_PREFIX}/share/antigen/antigen.zsh\n"
system "zsh", "--login", "-i", "-c", "antigen help"
end
end