make __git_ps1 accept a third parameter in pcmode