diff options
author | mail_redacted_for_web | 2024-07-14 09:59:33 +0200 |
---|---|---|
committer | mail_redacted_for_web | 2024-07-14 09:59:33 +0200 |
commit | 8faef2071a0dd0358714b082738dbc253378214a (patch) | |
tree | 9298d10d1ca349bcff373fc791746651a210b360 /.bash/postexec.bash | |
parent | 9b850221308f64fe6e641555fcbd24ddf5a7ff7b (diff) | |
download | dotfiles-8faef2071a0dd0358714b082738dbc253378214a.tar.bz2 |
inclusion of git prompt
Diffstat (limited to '.bash/postexec.bash')
-rw-r--r-- | .bash/postexec.bash | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.bash/postexec.bash b/.bash/postexec.bash index 564356a..6137814 100644 --- a/.bash/postexec.bash +++ b/.bash/postexec.bash @@ -6,3 +6,10 @@ if [ -n "$SSHENVFILE" ] && [ -r "$SSHENVFILE" ];then fi fi fi +for gitpsrc in "/usr/share/git/git-prompt.sh" "/usr/local/share/git/git-prompt.sh" \ + "/usr/share/git-completion/prompt.sh" "/usr/local/share/git-completion/prompt.sh"; do + if [ -r "$gitpsrc" ]; then + source "$gitpsrc" + break + fi +done |