{"action":"created","issue":{"url":"https://api.github.com/repos/git-for-windows/git/issues/290","labels_url":"https://api.github.com/repos/git-for-windows/git/issues/290/labels{/name}","comments_url":"https://api.github.com/repos/git-for-windows/git/issues/290/comments","events_url":"https://api.github.com/repos/git-for-windows/git/issues/290/events","html_url":"https://github.com/git-for-windows/git/issues/290","id":101912350,"number":290,"title":"when executing \"bash\" __git_ps1 is not found","user":{"login":"kjeremy","id":4325700,"avatar_url":"https://avatars.githubusercontent.com/u/4325700?v=3","gravatar_id":"","url":"https://api.github.com/users/kjeremy","html_url":"https://github.com/kjeremy","followers_url":"https://api.github.com/users/kjeremy/followers","following_url":"https://api.github.com/users/kjeremy/following{/other_user}","gists_url":"https://api.github.com/users/kjeremy/gists{/gist_id}","starred_url":"https://api.github.com/users/kjeremy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjeremy/subscriptions","organizations_url":"https://api.github.com/users/kjeremy/orgs","repos_url":"https://api.github.com/users/kjeremy/repos","events_url":"https://api.github.com/users/kjeremy/events{/privacy}","received_events_url":"https://api.github.com/users/kjeremy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/git-for-windows/git/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/git-for-windows/git/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/git-for-windows/git/labels/sdk-packages","name":"sdk-packages","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-19T14:53:15Z","updated_at":"2015-08-20T09:35:00Z","closed_at":null,"body":"If I'm running Git Bash and from the shell type in \"bash\" to launch a subshell I see `bash: __git_ps1: command not found` and I lose the branch information that was in the original bash prompt."},"comment":{"url":"https://api.github.com/repos/git-for-windows/git/issues/comments/132954586","html_url":"https://github.com/git-for-windows/git/issues/290#issuecomment-132954586","issue_url":"https://api.github.com/repos/git-for-windows/git/issues/290","id":132954586,"user":{"login":"nalla","id":688191,"avatar_url":"https://avatars.githubusercontent.com/u/688191?v=3","gravatar_id":"","url":"https://api.github.com/users/nalla","html_url":"https://github.com/nalla","followers_url":"https://api.github.com/users/nalla/followers","following_url":"https://api.github.com/users/nalla/following{/other_user}","gists_url":"https://api.github.com/users/nalla/gists{/gist_id}","starred_url":"https://api.github.com/users/nalla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nalla/subscriptions","organizations_url":"https://api.github.com/users/nalla/orgs","repos_url":"https://api.github.com/users/nalla/repos","events_url":"https://api.github.com/users/nalla/events{/privacy}","received_events_url":"https://api.github.com/users/nalla/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T09:35:00Z","updated_at":"2015-08-20T09:35:00Z","body":"No need to move `git-prompt.sh`. Just adding `shopt -q login_shell || . /etc/profile.d/git-prompt.sh` to the `bash.bashrc` sould be enough."}}