{"action":"created","issue":{"url":"https://api.github.com/repos/git-for-windows/git/issues/191","labels_url":"https://api.github.com/repos/git-for-windows/git/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/git-for-windows/git/issues/191/comments","events_url":"https://api.github.com/repos/git-for-windows/git/issues/191/events","html_url":"https://github.com/git-for-windows/git/issues/191","id":87421996,"number":191,"title":".bashrc doesn't execute","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":10,"created_at":"2015-06-11T17:27:57Z","updated_at":"2015-08-19T15:55:48Z","closed_at":null,"body":"In trying to use git through ConsoleZ I invoke it with the following command: `PathToGit\\Git\\git-cmd.exe --command=PathToGit\\Git\\usr\\bin\\bash.exe --login -i`\r\n\r\nLogging in this way does not execute the user's `.bashrc`."},"comment":{"url":"https://api.github.com/repos/git-for-windows/git/issues/comments/132647497","html_url":"https://github.com/git-for-windows/git/issues/191#issuecomment-132647497","issue_url":"https://api.github.com/repos/git-for-windows/git/issues/191","id":132647497,"user":{"login":"gordontyler","id":13695544,"avatar_url":"https://avatars.githubusercontent.com/u/13695544?v=3","gravatar_id":"","url":"https://api.github.com/users/gordontyler","html_url":"https://github.com/gordontyler","followers_url":"https://api.github.com/users/gordontyler/followers","following_url":"https://api.github.com/users/gordontyler/following{/other_user}","gists_url":"https://api.github.com/users/gordontyler/gists{/gist_id}","starred_url":"https://api.github.com/users/gordontyler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gordontyler/subscriptions","organizations_url":"https://api.github.com/users/gordontyler/orgs","repos_url":"https://api.github.com/users/gordontyler/repos","events_url":"https://api.github.com/users/gordontyler/events{/privacy}","received_events_url":"https://api.github.com/users/gordontyler/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T15:55:48Z","updated_at":"2015-08-19T15:55:48Z","body":"The generally accepted solution is to add a line to your `.bash_profile` which sources `.bashrc`. Something like this:\r\n\r\n    [ -f .bashrc ] && source .bashrc\r\n\r\nThis will ensure that your .bashrc is read for both login shells and interactive, non-login shells."}}