[Bug 1227210] bash-git-prompt only works for login shells