diff --git a/vendor/git-prompt.sh b/vendor/git-prompt.sh index f25784f..630073b 100644 --- a/vendor/git-prompt.sh +++ b/vendor/git-prompt.sh @@ -71,4 +71,15 @@ else PS1="$PS1"'λ ' # prompt: Cmder uses λ fi -MSYS2_PS1="$PS1" # for detection by MSYS2 SDK's bash.basrc \ No newline at end of file +MSYS2_PS1="$PS1" # for detection by MSYS2 SDK's bash.basrc + +# Evaluate all user-specific Bash completion scripts (if any) +if test -z "$WINELOADERNOEXEC" +then + for c in "$HOME"/bash_completion.d/*.bash + do + # Handle absence of any scripts (or the folder) gracefully + test ! -f "$c" || + . "$c" + done +fi \ No newline at end of file