Updated homebrew formula

master
Martin Gondermann 11 years ago
parent 81af6557d8
commit d9fef44baa
  1. 15
      bash-git-prompt.rb
  2. 0
      newfile.txt

@ -7,17 +7,16 @@ class BashGitPrompt < Formula
sha1 "3c0bc71302b97260cf8d14a1f01be732039365b9" sha1 "3c0bc71302b97260cf8d14a1f01be732039365b9"
def install def install
prefix.install Dir['./*'] share.install Dir["./gitprompt.{sh,fish}"]
share.install Dir["./git-prompt-{help,colors}.sh"]
share.install "gitstatus.sh"
share.install "prompt-colors.sh"
doc.install "README.md"
end end
def caveats; <<-EOS.undent def caveats; <<-EOS.undent
Add the following lines to your .bashrc: The bash-git-prompt has installed to #{HOMEBREW_PREFIX}/share/gitprompt.sh
See also #{doc}/README.md
if [ -f #{prefix}/gitprompt.sh ]; then
. #{prefix}/gitprompt.sh
fi
For further information see the README.md in #{prefix}
EOS EOS
end end
end end

Loading…
Cancel
Save