homebrew-core/Formula/antigen.rb
ilovezfs 57e1ca0b41 antigen 1.2.0
Closes #5800.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
2016-10-11 23:25:22 -07:00

26 lines
727 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.2.0.tar.gz"
sha256 "ee8e63aa29bcc4a23666cf02e0b52f7b73f8522b23325881c1b2acc143dc2942"
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 $(brew --prefix)/share/antigen/antigen.zsh
EOS
end
test do
(testpath/".zshrc").write "source `brew --prefix`/share/antigen/antigen.zsh\n"
system "zsh", "--login", "-i", "-c", "antigen help"
end
end