Skip to content

Commit

Permalink
Updated home-brew formula
Browse files Browse the repository at this point in the history
  • Loading branch information
magicmonty committed Oct 4, 2014
1 parent fa1189b commit 5e4d12b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions bash-git-prompt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,19 @@

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"
url "https://github.com/magicmonty/bash-git-prompt/archive/2.1.tar.gz"
sha1 "9bd29dc2aa4859d2f4c0736cb26cc177de9c1274"
head "https://github.com/magicmonty/bash-git-prompt.git"

def install
share.install Dir["./gitprompt.{sh,fish}"], Dir["./git-prompt-{help,colors}.sh"], "gitstatus.sh", "prompt-colors.sh"
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
You should add the following to your .bashrc (or equivalent):
source #{opt_share}/gitprompt.sh
EOS
end
end

0 comments on commit 5e4d12b

Please sign in to comment.