aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bash-git-prompt.rb
diff options
context:
space:
mode:
authorMartin Gondermann2014-10-11 21:19:34 +0200
committerJack Nagel2014-10-11 16:49:56 -0500
commit9ad8dc6b0be1ddd28110284a5b9a7c8c897ee028 (patch)
tree7bad16c6d77bcf6332e26b24b44de0db1862a995 /Library/Formula/bash-git-prompt.rb
parentfab34757874267736e3189ce141aa5f8e490618c (diff)
downloadhomebrew-9ad8dc6b0be1ddd28110284a5b9a7c8c897ee028.tar.bz2
bash-git-prompt 2.3
Closes #33101. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/bash-git-prompt.rb')
-rw-r--r--Library/Formula/bash-git-prompt.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/bash-git-prompt.rb b/Library/Formula/bash-git-prompt.rb
index 701d711a5..8ba396d4f 100644
--- a/Library/Formula/bash-git-prompt.rb
+++ b/Library/Formula/bash-git-prompt.rb
@@ -2,21 +2,22 @@ require "formula"
class BashGitPrompt < Formula
homepage "https://github.com/magicmonty/bash-git-prompt"
- url "https://github.com/magicmonty/bash-git-prompt/archive/2.2.1.tar.gz"
- sha1 "6eec4b05744d4071f831202eee25edc0821f4e09"
+ url "https://github.com/magicmonty/bash-git-prompt/archive/2.3.tar.gz"
+ sha1 "a4e692ef33b691724df6ac9582c204d31dbb853a"
head "https://github.com/magicmonty/bash-git-prompt.git"
def install
share.install "gitprompt.sh", "gitprompt.fish", "git-prompt-help.sh",
"gitstatus.sh", "prompt-colors.sh"
- (share/"themes").install Dir["themes/*.bgptheme"]
+ (share/"themes").install Dir["themes/*.bgptheme"], "themes/Custom.bgptemplate"
doc.install "README.md"
end
def caveats; <<-EOS.undent
You should add the following to your .bashrc (or equivalent):
if [ -f "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh" ]; then
+ GIT_PROMPT_THEME=Default
source "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh"
fi
EOS