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.1.4.tar.gz" sha256 "fa59baacc7e3b35dd7e39f4ff1ac49025c997cdd4e2e28713771f61a2151ce55" 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