{"action":"created","issue":{"url":"https://api.github.com/repos/cBio/cbio-cluster/issues/272","labels_url":"https://api.github.com/repos/cBio/cbio-cluster/issues/272/labels{/name}","comments_url":"https://api.github.com/repos/cBio/cbio-cluster/issues/272/comments","events_url":"https://api.github.com/repos/cBio/cbio-cluster/issues/272/events","html_url":"https://github.com/cBio/cbio-cluster/issues/272","id":89616158,"number":272,"title":"bashrc not executing on login","user":{"login":"andrrizzi","id":1682142,"avatar_url":"https://avatars.githubusercontent.com/u/1682142?v=3","gravatar_id":"","url":"https://api.github.com/users/andrrizzi","html_url":"https://github.com/andrrizzi","followers_url":"https://api.github.com/users/andrrizzi/followers","following_url":"https://api.github.com/users/andrrizzi/following{/other_user}","gists_url":"https://api.github.com/users/andrrizzi/gists{/gist_id}","starred_url":"https://api.github.com/users/andrrizzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrrizzi/subscriptions","organizations_url":"https://api.github.com/users/andrrizzi/orgs","repos_url":"https://api.github.com/users/andrrizzi/repos","events_url":"https://api.github.com/users/andrrizzi/events{/privacy}","received_events_url":"https://api.github.com/users/andrrizzi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-19T17:16:57Z","updated_at":"2015-06-19T17:22:48Z","closed_at":null,"body":"I've installed miniconda in my home folder. Its directory is added to the PATH variable in the .bashrc file but it appears that this file is not executed on login. Executing \"source $HOME/.bashrc\" in the head node doesn't help because it doesn't affect the configuration on other nodes. As a result all my scripts invoking python code installed through conda fail.\r\n\r\nAs a workaround I've added \"source $HOME/.bashrc\" at the beginning of all my bash scripts, but it would be great if that could be avoided."},"comment":{"url":"https://api.github.com/repos/cBio/cbio-cluster/issues/comments/113580865","html_url":"https://github.com/cBio/cbio-cluster/issues/272#issuecomment-113580865","issue_url":"https://api.github.com/repos/cBio/cbio-cluster/issues/272","id":113580865,"user":{"login":"tatarsky","id":6439722,"avatar_url":"https://avatars.githubusercontent.com/u/6439722?v=3","gravatar_id":"","url":"https://api.github.com/users/tatarsky","html_url":"https://github.com/tatarsky","followers_url":"https://api.github.com/users/tatarsky/followers","following_url":"https://api.github.com/users/tatarsky/following{/other_user}","gists_url":"https://api.github.com/users/tatarsky/gists{/gist_id}","starred_url":"https://api.github.com/users/tatarsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatarsky/subscriptions","organizations_url":"https://api.github.com/users/tatarsky/orgs","repos_url":"https://api.github.com/users/tatarsky/repos","events_url":"https://api.github.com/users/tatarsky/events{/privacy}","received_events_url":"https://api.github.com/users/tatarsky/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T17:22:48Z","updated_at":"2015-06-19T17:22:48Z","body":"Please consult the bash man page under the INVOCATION section for an explantion of how the startup files for bash are consulted. \r\n\r\nI believe what you describe is correct operation for a login shell. My suggestion is to consider .bash_profile. "}}