my (simplified) PS1:export PS1="\A \w\ $(__git_ps1) \$ "
prompt: 16:08-~/dev (master) $
This is all good and it shows branch name when there is one. But outside of the repo it still shows (master)
instead of . I've been searching like crazy but can't find the answer.
What environment information do you need to help me solve this? I'm not that well versed in Bash yet. There has to be something off. Or is there something wrong with my Git version?
16:08 ~/dev (master) $ git --version
git version 2.7.4
Thanks in advance for taking a look at this!