Use git-prompt pre switch to bash v4