diff options
author | Yuchen Pei <id@ypei.org> | 2024-06-13 18:27:25 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2024-06-13 18:27:25 +1000 |
commit | 93abde3cd97332647aad0ac3e1ece1f92af46ce6 (patch) | |
tree | 537155c27bc39efc404c329e8c570d3842c24784 /misc | |
parent | 162b814567ec1bcca8be5f8cc050423fbea6fe7a (diff) |
[bash] Account for another path of git-prompt.sh
Diffstat (limited to 'misc')
-rw-r--r-- | misc/.bashrc | 2 |
1 files changed, 2 insertions, 0 deletions
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 |