bash-git-prompt
bash-git-prompt copied to clipboard
GIT_PROMPT_THEME_FILE: unbound variable
Every command that I run on my terminal now returns at the end:
-bash: GIT_PROMPT_THEME_FILE: unbound variable
Even when I just press enter, I get that message. How can I remove it?
This is my bash_profile.
I don't recall changing anything about git-prompt.
I regularly do brew upgrade. I'm using macOS 10.14.
Do you need any extra info?
which bash version do you run?
GNU bash, version 4.4.23(1)-release (x86_64-apple-darwin17.5.0)
@dialex have you something like set -u set in your config? If yes, I'm currently working on a fix.
See #411
I don't, this is my bash_profile.
Same behaviour for me. I have a few scripts which I source and they set -u and whenever they run the end my session.
GNU bash, version 5.1.8(1)-release (x86_64-apple-darwin20.3.0)