homebrew-core/Formula/antigen.rb

27 lines
703 B
Ruby
Raw Normal View History

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.tar.gz"
sha256 "6d4bd7b5d7bc3e36a23ac8feb93073b06e1e09b9100eb898f66c2e8c3f4d7847"
head "https://github.com/zsh-users/antigen.git"
2015-10-23 08:26:43 +00:00
bottle :unneeded
def install
share.install "antigen.zsh"
end
def caveats; <<-EOS.undent
To activate antigen, add the following to your ~/.zshrc:
source $(brew --prefix)/share/antigen.zsh
EOS
end
test do
(testpath/".zshrc").write "source `brew --prefix`/share/antigen.zsh"
system "/bin/zsh", "--login", "-i", "-c", "antigen help"
end
end