Closed samtstern closed 6 years ago
Have you also set PROMPT_COMMAND?
No I don't have that set anywhere.
https://github.com/jimeh/git-aware-prompt/blob/75781b7b7d825f09ed1a9b0eccb2b508da210f49/prompt.sh#L23 You should either source prompt.sh or add that line elsewhere. Without that, git_branch and git_dirty will probably only ever be set once.
@lethosor that seemed to work, thanks!
Here's my configuration:
Right now in my terminal I see the following prompt:
But when I run
git branch
you can see I am not onmaster
:samstern@samstern-macbookpro firebase-tools (master)
Any idea what's going on here?