diff options
| author | Martin Gondermann | 2014-09-11 20:20:44 +0200 |
|---|---|---|
| committer | Mike McQuaid | 2014-09-15 10:30:51 +0100 |
| commit | 6ec4de5b046808ffe79597e6fa54f35ac0ecd8a2 (patch) | |
| tree | 96253861b22deab6861aee89ba80e165c20cb1f2 /Library | |
| parent | d311500b13ea01032bb7ba2d1bccd422e3c58f47 (diff) | |
| download | homebrew-6ec4de5b046808ffe79597e6fa54f35ac0ecd8a2.tar.bz2 | |
bash-git-prompt 2.0 (new formula)
Closes #32238.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/bash-git-prompt.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/bash-git-prompt.rb b/Library/Formula/bash-git-prompt.rb new file mode 100644 index 000000000..50349a6d0 --- /dev/null +++ b/Library/Formula/bash-git-prompt.rb @@ -0,0 +1,19 @@ +require "formula" + +class BashGitPrompt < Formula + homepage "https://github.com/magicmonty/bash-git-prompt" + url "https://github.com/magicmonty/bash-git-prompt/archive/2.0.tar.gz" + head "https://github.com/magicmonty/bash-git-prompt", :using => :git + sha1 "3c0bc71302b97260cf8d14a1f01be732039365b9" + + def install + share.install "./gitprompt.sh", "./gitprompt.fish", "./git-prompt-help.sh", "./git-prompt-colors.sh", "gitstatus.sh", "prompt-colors.sh" + doc.install "README.md" + end + + def caveats; <<-EOS.undent + You should add the following to your .bashrc or equivalent: + source #{opt_share}/gitprompt.sh + EOS + end +end |
