#fi;
# Git completion and prompt
-source "/usr/share/git/completion/git-completion.bash"
-source "/usr/share/git/completion/git-prompt.sh"
+[ -f /usr/share/git/completion/git-completion.bash ] && . /usr/share/git/completion/git-completion.bash
+[ -f /usr/share/git/completion/git-prompt.sh ] && . /usr/share/git/completion/git-prompt.sh
+
export GIT_PS1_SHOWDIRTYSTATE=true
export GIT_PS1_SHOWCOLORHINTS=true
export GIT_PS1_UNTRACKEDFILES=true
[mergetool "vimdiff"]
prompt = false
[difftool "bc"]
- path = C:\\Program Files\\Beyond Compare 4\\BComp.exe
+ path = bcompare
trustExitCode = false
[mergetool "bc"]
- path = C:\\Program Files\\Beyond Compare 4\\BComp.exe
+ path = bcompare
+ trustExitCode = false
trustExitCode = false
[init]
templatedir = ~/.config/git/templates