2015-06-14 02:40:22 +00:00
|
|
|
class Antigen < Formula
|
2015-08-01 09:35:45 +00:00
|
|
|
desc "Plugin manager for zsh, inspired by oh-my-zsh and vundle."
|
2015-06-14 02:40:22 +00:00
|
|
|
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
|
|
|
|
|
2015-06-14 02:40:22 +00:00
|
|
|
def install
|
|
|
|
share.install "antigen.zsh"
|
|
|
|
end
|
|
|
|
|
2016-03-13 00:42:29 +00:00
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
To activate antigen, add the following to your ~/.zshrc:
|
|
|
|
|
|
|
|
source $(brew --prefix)/share/antigen.zsh
|
|
|
|
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
|
2015-06-14 02:40:22 +00:00
|
|
|
test do
|
|
|
|
(testpath/".zshrc").write "source `brew --prefix`/share/antigen.zsh"
|
|
|
|
system "/bin/zsh", "--login", "-i", "-c", "antigen help"
|
|
|
|
end
|
|
|
|
end
|