From cfbcd567d7ce80ef58d0e9a6733269e5588393a1 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Mon, 27 Feb 2023 20:01:42 +0900 Subject: [PATCH] Add git-prompt candidate --- shrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shrc b/shrc index 3eb9176..7b09e99 100755 --- a/shrc +++ b/shrc @@ -974,9 +974,10 @@ __my_ps1_moc(){ } for f in /usr/share/git/git-prompt.sh \ + "`brew --prefix 2>/dev/null`"/etc/bash_completion.d/git-prompt.sh \ + /Library/Developer/CommandLineTools/usr/share/git-core/git-prompt.sh \ /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-prompt.sh \ /usr/local/opt/bash-git-prompt/share/gitprompt.sh \ - "`brew --prefix 2>/dev/null`"/etc/bash_completion.d/git-prompt.sh \ /usr/share/git-core/contrib/completion/git-prompt.sh \ /usr/local/share/git-core/contrib/completion/git-prompt.sh \ /etc/bash_completion.d/git-prompt \