{"action":"opened","issue":{"url":"https://api.github.com/repos/conda/conda/issues/2979","repository_url":"https://api.github.com/repos/conda/conda","labels_url":"https://api.github.com/repos/conda/conda/issues/2979/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda/issues/2979/comments","events_url":"https://api.github.com/repos/conda/conda/issues/2979/events","html_url":"https://github.com/conda/conda/issues/2979","id":163763933,"number":2979,"title":"Redefinition of SHELL variable causing issues","user":{"login":"jhunkeler","id":490981,"avatar_url":"https://avatars.githubusercontent.com/u/490981?v=3","gravatar_id":"","url":"https://api.github.com/users/jhunkeler","html_url":"https://github.com/jhunkeler","followers_url":"https://api.github.com/users/jhunkeler/followers","following_url":"https://api.github.com/users/jhunkeler/following{/other_user}","gists_url":"https://api.github.com/users/jhunkeler/gists{/gist_id}","starred_url":"https://api.github.com/users/jhunkeler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhunkeler/subscriptions","organizations_url":"https://api.github.com/users/jhunkeler/orgs","repos_url":"https://api.github.com/users/jhunkeler/repos","events_url":"https://api.github.com/users/jhunkeler/events{/privacy}","received_events_url":"https://api.github.com/users/jhunkeler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-05T03:06:38Z","updated_at":"2016-07-05T03:06:38Z","closed_at":null,"body":"https://github.com/conda/conda/blob/master/bin/activate#L4-L13\r\n\r\nSince we're all sourcing this file, perhaps you should consider using a throw-away variable here instead of overwriting an important environment variable in a user's shell. A variable like `_SHELL=\"bash\"` or `shell=\"bash\"` would be fine, but not definitely not `SHELL=\"bash\"`. \r\n\r\nI've run into a situation with some C code failing to execute `system` calls because `SHELL` is no longer an absolute path after running `source activate [env_name]`. The redefinition from `/bin/bash` to `bash` sticks until you either (i) open a new terminal or (ii) manually reset the value.\r\n\r\n"}}
{"actor":{"display_login":"jhunkeler"}}