Updated homebrew formula

master
Martin Gondermann 11 years ago
parent e1b34607a8
commit 1893c825bf
  1. 6
      bash-git-prompt.rb

@ -2,8 +2,8 @@ require "formula"
class BashGitPrompt < Formula class BashGitPrompt < Formula
homepage "https://github.com/magicmonty/bash-git-prompt" homepage "https://github.com/magicmonty/bash-git-prompt"
url "https://github.com/magicmonty/bash-git-prompt/archive/2.3.tar.gz" url "https://github.com/magicmonty/bash-git-prompt/archive/2.3.1.tar.gz"
sha1 "a4e692ef33b691724df6ac9582c204d31dbb853a" sha1 "c973bd8b86ac332d7310d79f0009844340b5999f"
head "https://github.com/magicmonty/bash-git-prompt.git" head "https://github.com/magicmonty/bash-git-prompt.git"
def install def install
@ -17,7 +17,7 @@ class BashGitPrompt < Formula
def caveats; <<-EOS.undent def caveats; <<-EOS.undent
You should add the following to your .bashrc (or equivalent): You should add the following to your .bashrc (or equivalent):
if [ -f "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh" ]; then if [ -f "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh" ]; then
GIT_PROMPT_THEME=Default GIT_PROMPT_THEME=Default
source "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh" source "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh"
fi fi
EOS EOS

Loading…
Cancel
Save