Skip to content

Commit fc2953f

Browse files
committed
Updated Homebrew formula and spec
1 parent c4a0a2d commit fc2953f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

bash-git-prompt.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ def install
1818

1919
def caveats; <<-EOS.undent
2020
You should add the following to your .bashrc (or equivalent):
21-
if [ -f "$(brew --prefix bash-git-prompt)/share/gitprompt.sh" ]; then
21+
if [ -f #{HOMEBREW_PREFIX}/share/gitprompt.sh ]; then
2222
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"
23+
. #{HOMEBREW_PREFIX}/share/gitprompt.sh
2524
fi
2625
EOS
2726
end

bash-git-prompt.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
%global END_TOKEN ### Generated by %{name} rpm package
33

44
Name: bash-git-prompt
5-
Version: 2.6.1
5+
Version: 2.6.2
66
Release: 1%{?dist}
77
Summary: Informative git prompt for bash and fish
88

0 commit comments

Comments
 (0)