aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/bash-git-prompt.rb
diff options
context:
space:
mode:
authorJack Nagel2014-10-26 22:30:28 -0500
committerJack Nagel2014-10-26 22:30:28 -0500
commit29ba8d8533eb586f0c25638686388f80c9074710 (patch)
tree0a5c8c175bcb2c3ca2b929a8f178f45687210769 /Library/Formula/bash-git-prompt.rb
parentad8be31f74a86c2cc16a25550dc1f47054c71a8e (diff)
downloadhomebrew-29ba8d8533eb586f0c25638686388f80c9074710.tar.bz2
Use opt helpers instead of hardcoded paths
Diffstat (limited to 'Library/Formula/bash-git-prompt.rb')
-rw-r--r--Library/Formula/bash-git-prompt.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/bash-git-prompt.rb b/Library/Formula/bash-git-prompt.rb
index ab9a3bc44..a63ea39d2 100644
--- a/Library/Formula/bash-git-prompt.rb
+++ b/Library/Formula/bash-git-prompt.rb
@@ -16,9 +16,9 @@ class BashGitPrompt < Formula
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
+ if [ -f "$(brew --prefix bash-git-prompt)/share/gitprompt.sh" ]; then
GIT_PROMPT_THEME=Default
- source "$(brew --prefix)/opt/bash-git-prompt/share/gitprompt.sh"
+ source "$(brew --prefix bash-git-prompt)/share/gitprompt.sh"
fi
EOS
end