We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4a0a2d commit fc2953fCopy full SHA for fc2953f
bash-git-prompt.rb
@@ -18,10 +18,9 @@ def install
18
19
def caveats; <<-EOS.undent
20
You should add the following to your .bashrc (or equivalent):
21
- if [ -f "$(brew --prefix bash-git-prompt)/share/gitprompt.sh" ]; then
+ if [ -f #{HOMEBREW_PREFIX}/share/gitprompt.sh ]; then
22
GIT_PROMPT_THEME=Default
23
- __GIT_PROMPT_DIR=$(brew --prefix)/opt/bash-git-prompt/share
24
- source "$(brew --prefix bash-git-prompt)/share/gitprompt.sh"
+ . #{HOMEBREW_PREFIX}/share/gitprompt.sh
25
fi
26
EOS
27
end
bash-git-prompt.spec
@@ -2,7 +2,7 @@
2
%global END_TOKEN ### Generated by %{name} rpm package
3
4
Name: bash-git-prompt
5
-Version: 2.6.1
+Version: 2.6.2
6
Release: 1%{?dist}
7
Summary: Informative git prompt for bash and fish
8
0 commit comments