From 29ba8d8533eb586f0c25638686388f80c9074710 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 26 Oct 2014 22:30:28 -0500 Subject: Use opt helpers instead of hardcoded paths --- Library/Formula/bash-git-prompt.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula/bash-git-prompt.rb') 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 -- cgit v1.2.3