{"action":"created","issue":{"url":"https://api.github.com/repos/conda/conda/issues/3175","repository_url":"https://api.github.com/repos/conda/conda","labels_url":"https://api.github.com/repos/conda/conda/issues/3175/labels{/name}","comments_url":"https://api.github.com/repos/conda/conda/issues/3175/comments","events_url":"https://api.github.com/repos/conda/conda/issues/3175/events","html_url":"https://github.com/conda/conda/pull/3175","id":167957468,"number":3175,"title":"Add generic support for bourne- and c-based shells","user":{"login":"njalerikson","id":4546435,"avatar_url":"https://avatars.githubusercontent.com/u/4546435?v=3","gravatar_id":"","url":"https://api.github.com/users/njalerikson","html_url":"https://github.com/njalerikson","followers_url":"https://api.github.com/users/njalerikson/followers","following_url":"https://api.github.com/users/njalerikson/following{/other_user}","gists_url":"https://api.github.com/users/njalerikson/gists{/gist_id}","starred_url":"https://api.github.com/users/njalerikson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njalerikson/subscriptions","organizations_url":"https://api.github.com/users/njalerikson/orgs","repos_url":"https://api.github.com/users/njalerikson/repos","events_url":"https://api.github.com/users/njalerikson/events{/privacy}","received_events_url":"https://api.github.com/users/njalerikson/received_events","type":"User","site_admin":false},"labels":[{"id":16544532,"url":"https://api.github.com/repos/conda/conda/labels/Feature","name":"Feature","color":"84b6eb","default":false},{"id":434992633,"url":"https://api.github.com/repos/conda/conda/labels/%C2%A1blocking!","name":"¡blocking!","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/conda/conda/milestones/4","html_url":"https://github.com/conda/conda/milestones/4.3","labels_url":"https://api.github.com/repos/conda/conda/milestones/4/labels","id":1763142,"number":4,"title":"4.3","description":"","creator":{"login":"kalefranz","id":1418419,"avatar_url":"https://avatars.githubusercontent.com/u/1418419?v=3","gravatar_id":"","url":"https://api.github.com/users/kalefranz","html_url":"https://github.com/kalefranz","followers_url":"https://api.github.com/users/kalefranz/followers","following_url":"https://api.github.com/users/kalefranz/following{/other_user}","gists_url":"https://api.github.com/users/kalefranz/gists{/gist_id}","starred_url":"https://api.github.com/users/kalefranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalefranz/subscriptions","organizations_url":"https://api.github.com/users/kalefranz/orgs","repos_url":"https://api.github.com/users/kalefranz/repos","events_url":"https://api.github.com/users/kalefranz/events{/privacy}","received_events_url":"https://api.github.com/users/kalefranz/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":46,"state":"open","created_at":"2016-05-12T19:49:26Z","updated_at":"2016-11-14T04:03:26Z","due_on":null,"closed_at":null},"comments":42,"created_at":"2016-07-27T21:10:22Z","updated_at":"2016-11-14T17:31:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/conda/conda/pulls/3175","html_url":"https://github.com/conda/conda/pull/3175","diff_url":"https://github.com/conda/conda/pull/3175.diff","patch_url":"https://github.com/conda/conda/pull/3175.patch"},"body":"With these changes conda's activate/deactivate now support bash/zsh/tcsh/csh.\n\nThe scripts assume that `activate*`, `deactivate*`, and `conda*` can be found on the user's `$PATH` as opposed to detecting the `$_SCRIPT_LOCATION` as was done previously. This change is necessary to support tcsh/csh where the script location cannot be **reliably** detected when sourced.\n\nbash/zsh:\n\n<pre>\nsource activate [ENVNAME]\nsource deactivate\n</pre>\n\n\ntcsh/csh (since the `which` command doesn't search the user `$PATH` in tcsh/csh):\n\n<pre>\nsource \\`which activate\\` [ENVNAME]\nsource \\`which deactivate\\`\n</pre>\n\n## \n\nThe old `activate` script has effectively been renamed as `activate.sh`. Likewise with the old `deactivate` script. They contain the same content but has been slightly edited to match the look and feel of the `*.csh` scripts that have been introduced.\n## \n\nIt may also make sense to encourage users to create aliases when they install Conda.\n\nbash/zsh:\n\n<pre>\nalias activate=\"source activate\"\nalias deactivate=\"source deactivate\"\n</pre>\n\n\ntcsh/csh:\n\n<pre>\nalias activate    \"source \\`which \\activate\\`\"\nalias deactivate  \"source \\`which \\deactivate\\`\"\n</pre>\n"},"comment":{"url":"https://api.github.com/repos/conda/conda/issues/comments/260402616","html_url":"https://github.com/conda/conda/pull/3175#issuecomment-260402616","issue_url":"https://api.github.com/repos/conda/conda/issues/3175","id":260402616,"user":{"login":"codecov-io","id":8655789,"avatar_url":"https://avatars.githubusercontent.com/u/8655789?v=3","gravatar_id":"","url":"https://api.github.com/users/codecov-io","html_url":"https://github.com/codecov-io","followers_url":"https://api.github.com/users/codecov-io/followers","following_url":"https://api.github.com/users/codecov-io/following{/other_user}","gists_url":"https://api.github.com/users/codecov-io/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov-io/subscriptions","organizations_url":"https://api.github.com/users/codecov-io/orgs","repos_url":"https://api.github.com/users/codecov-io/repos","events_url":"https://api.github.com/users/codecov-io/events{/privacy}","received_events_url":"https://api.github.com/users/codecov-io/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T17:31:20Z","updated_at":"2016-11-14T17:31:20Z","body":"## [Current coverage](https://codecov.io/gh/conda/conda/pull/3175?src=pr) is 78.82% (diff: 78.20%)\n> Merging [#3175](https://codecov.io/gh/conda/conda/pull/3175?src=pr) into [master](https://codecov.io/gh/conda/conda/branch/master?src=pr) will increase coverage by **10.89%**\n\n```diff\n@@             master      #3175   diff @@\n==========================================\n  Files            75         59     -16   \n  Lines         11839       8144   -3695   \n  Methods           0          0           \n  Messages          0          0           \n  Branches          0          0           \n==========================================\n- Hits           8042       6419   -1623   \n+ Misses         3797       1725   -2072   \n  Partials          0          0           \n```\n\n> Powered by [Codecov](https://codecov.io?src=pr). Last update [a26b1ef...89d7785](https://codecov.io/gh/conda/conda/compare/a26b1eff17dcaf12f03aea5bbe8dee1e01308de7...89d77858532b99d3eeac03b95afd2531516951b0?src=pr)"}}
{"actor":{"display_login":"codecov-io"}}