homebrew-core/Formula/antigen.rb
2017-01-08 00:14:18 -08: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.3/v1.3.3.tar.gz"
sha256 "8076ee3c5b979511ddf2cb75658ed41735b9d75770278b50a886be9cd6277fa9"
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