{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda/issues/1412","labels_url":"https://api.github.com/repos/conda/conda/issues/1412/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda/issues/1412/comments","events_url":"https://api.github.com/repos/conda/conda/issues/1412/events","html_url":"https://github.com/conda/conda/issues/1412","id":93008761,"number":1412,"title":"Anaconda installer `.bashrc` modifications cannot be easily reversed","user":{"login":"ncoghlan","id":1026649,"avatar_url":"https://avatars.githubusercontent.com/u/1026649?v=3","gravatar_id":"","url":"https://api.github.com/users/ncoghlan","html_url":"https://github.com/ncoghlan","followers_url":"https://api.github.com/users/ncoghlan/followers","following_url":"https://api.github.com/users/ncoghlan/following{/other_user}","gists_url":"https://api.github.com/users/ncoghlan/gists{/gist_id}","starred_url":"https://api.github.com/users/ncoghlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncoghlan/subscriptions","organizations_url":"https://api.github.com/users/ncoghlan/orgs","repos_url":"https://api.github.com/users/ncoghlan/repos","events_url":"https://api.github.com/users/ncoghlan/events{/privacy}","received_events_url":"https://api.github.com/users/ncoghlan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-04T12:39:12Z","updated_at":"2015-07-06T06:38:23Z","closed_at":null,"body":"(Filing against conda as I can't find a public issue tracker for the Anaconda installer)\r\n\r\nIn helping out an attendee at a Software Carpentry bootcamp that had run into issue #1411, I found that Anaconda had added a line to the end of the attendee's `.bashrc` file that placed Anaconda's `bin` directory at the head of `PATH`. This meant that *all* affected commands were shadowed in *every* terminal session, in a way that *couldn't* be easily reverted via:\r\n\r\n    source `which deactivate`\r\n\r\nThe additions to the user's shell config when they instruct the installer to enable the use of Anaconda by default should either:\r\n\r\n1. Activate the main environment properly so that it can be deactivated as needed (currently attempting to deactivate claims that it isn't activated); or\r\n2. Be more selective about which binary commands `conda` shadows, since losing access to the system versions without manually editing PATH can pose a significant problem, especially when there's a problem with the way the conda provided version is built (as appears to be the case in #1411)\r\n"},"comment":{"url":"https://api.github.com/repos/conda/conda/issues/comments/118743356","html_url":"https://github.com/conda/conda/issues/1412#issuecomment-118743356","issue_url":"https://api.github.com/repos/conda/conda/issues/1412","id":118743356,"user":{"login":"asmeurer","id":71486,"avatar_url":"https://avatars.githubusercontent.com/u/71486?v=3","gravatar_id":"","url":"https://api.github.com/users/asmeurer","html_url":"https://github.com/asmeurer","followers_url":"https://api.github.com/users/asmeurer/followers","following_url":"https://api.github.com/users/asmeurer/following{/other_user}","gists_url":"https://api.github.com/users/asmeurer/gists{/gist_id}","starred_url":"https://api.github.com/users/asmeurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asmeurer/subscriptions","organizations_url":"https://api.github.com/users/asmeurer/orgs","repos_url":"https://api.github.com/users/asmeurer/repos","events_url":"https://api.github.com/users/asmeurer/events{/privacy}","received_events_url":"https://api.github.com/users/asmeurer/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T06:38:23Z","updated_at":"2015-07-06T06:38:23Z","body":"The current behavior is intended. We don't want users to type `source deactivate` when no environment is active and have `conda`, `activate`, and `deactivate` all removed from their PATH. \r\n\r\nIf you want to use a system command, the easiest way is to use the full path to it (like `/usr/bin/python`).\r\n\r\nBy the way, source \\`which deactivate\\` is redundant. `source` already searches the PATH when given a command. \r\n"}}