From 93abde3cd97332647aad0ac3e1ece1f92af46ce6 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Thu, 13 Jun 2024 18:27:25 +1000 Subject: [bash] Account for another path of git-prompt.sh --- misc/.bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/.bashrc b/misc/.bashrc index 8d64a41..4f337ca 100644 --- a/misc/.bashrc +++ b/misc/.bashrc @@ -28,6 +28,8 @@ if [[ -f /usr/share/git/completion/git-prompt.sh ]]; then source /usr/share/git/completion/git-prompt.sh elif [[ -f /etc/bash_completion.d/git-prompt ]]; then source /etc/bash_completion.d/git-prompt +elif [[ -f /usr/share/git-core/contrib/completion/git-prompt.sh ]]; then + source /usr/share/git-core/contrib/completion/git-prompt.sh fi # prompt -- cgit v1.2.3