diff --git a/bash-git-prompt.rb b/bash-git-prompt.rb index ab9a3bc4..a63ea39d 100644 --- a/bash-git-prompt.rb +++ b/bash-git-prompt.rb @@ -16,9 +16,9 @@ def install 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