Skip to content

Commit

Permalink
bash-git-prompt: general cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Sep 15, 2014
1 parent b3c68d9 commit 167d9f2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Formula/bash-git-prompt.rb
Expand Up @@ -3,17 +3,18 @@
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"
head "https://github.com/magicmonty/bash-git-prompt.git"

def install
share.install "./gitprompt.sh", "./gitprompt.fish", "./git-prompt-help.sh", "./git-prompt-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 167d9f2

Please sign in to comment.