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/"
|
2016-10-16 09:15:45 +00:00
|
|
|
url "https://github.com/zsh-users/antigen/archive/v1.2.1.tar.gz"
|
|
|
|
sha256 "e826bd7dbe6d9b90dc184e76de4ccbdaf9237483c593660d7c1332f81a6a001e"
|
2015-06-14 02:40:22 +00:00
|
|
|
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
|
2016-09-10 06:14:41 +00:00
|
|
|
pkgshare.install "bin/antigen.zsh"
|
2015-06-14 02:40:22 +00:00
|
|
|
end
|
|
|
|
|
2016-03-13 00:42:29 +00:00
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
To activate antigen, add the following to your ~/.zshrc:
|
|
|
|
|
2016-08-27 19:26:35 +00:00
|
|
|
source $(brew --prefix)/share/antigen/antigen.zsh
|
2016-03-13 00:42:29 +00:00
|
|
|
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
|
2015-06-14 02:40:22 +00:00
|
|
|
test do
|
2016-08-27 19:26:35 +00:00
|
|
|
(testpath/".zshrc").write "source `brew --prefix`/share/antigen/antigen.zsh\n"
|
|
|
|
system "zsh", "--login", "-i", "-c", "antigen help"
|
2015-06-14 02:40:22 +00:00
|
|
|
end
|
|
|
|
end
|