homebrew-core/Formula/antigen.rb
2017-04-15 05:55:30 -07:00

24 lines
769 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/v2.0.1/v2.0.1.tar.gz"
sha256 "9bcd6c60ad3a66d6707b1be5bb4b4743b5017ad2a339c81d66cabcf9f8e0887c"
head "https://github.com/zsh-users/antigen.git", :branch => "develop"
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