Closed georgettica closed 2 years ago
Hi @georgettic, can you tell us what was the commit/PR that broke this for you?
you can use git bisect
in order to find out. It's weird to me that it only happens now after updating, as we did not source the file beforehand
@georgettica, which bash-completion
do you have installed? Is it from Homebrew? Is it linked or unlinked?
(I recently made changes to completion/system
that meant to improve handling loading different installations of bash-completion
, and the git-prompt.sh
file should be loaded via that.)
I'll check it tomorrow :)
I have bash completion from brew, after running the:
==> Caveats
Add the following line to your ~/.bash_profile:
this was solved.
thanks so much and sorry for wasting your time :(
Expected behavior
that __git_ps1 will work OOTB after an upgrade
Current behavior
on every PS1 the error
occurs
Possible solution
add a
source
command in here https://github.com/Bash-it/bash-it/blob/master/completion/available/brew.completion.bashContext
asked in the brew repo and they said it's expected behaviour https://github.com/Homebrew/homebrew-core/issues/96384#issuecomment-1060233448
additonally, a oneliner for plugins themes and aliases:
Steps to reproduce
_
Bash-it version
v3.0.0
List of enabled plugins, themes and aliases
in the
context
sectionBash version
GNU bash, version 5.1.16(1)-release (x86_64-apple-darwin20.6.0)
Operating system and version
macOS 11.6.3 20G415 (pulled by
sw_vers
)bash-it doctor output
Notes
No response