From: Kerrick Staley Date: Wed, 28 Mar 2012 20:27:20 GMT Subject: bash-completion now loads completions dynamically, so __git_ps1 is not defined when you open a shell Message-ID: The __git_ps1 function is defined in same script that defines Git's tab completions (contrib/completion/git-completion.bash). Since bash-completion loads completions on-the-fly in newer versions, the __git_ps1 function isn't immediately available in a new shell. How should this be handled? Should users just source git-completion.bash before they redefine $PS1? -Kerrick Staley