homebrew-core/Formula/antigen.rb
ilovezfs f858ec13f5 antigen 1.3.0
Closes #7741.

Signed-off-by: Tomasz Pajor <tomek@polishgeeks.com>
2016-12-10 10:41:11 +01:00

24 lines
730 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/archive/v1.3.0.tar.gz"
sha256 "e27bcc785c89fba0886fd03996dfc4bfb301ae6c07ed6a3305c4a0b45dcef004"
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