antigen: add caveat about adding to .zshrc

master
Andrew Janke 2016-03-12 19:42:29 -05:00 committed by Xu Cheng
parent d79b592f80
commit 45d2168e6a
1 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,14 @@ class Antigen < Formula
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"