1bd1552b15
Closes #13573. Signed-off-by: JCount <JCount42@gmail.com>
24 lines
769 B
Ruby
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.1.0/v2.1.0.tar.gz"
|
|
sha256 "044ac01f91f71f2bea81cc617035167613527f5160c148a0c636184358ae7115"
|
|
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
|