{"action":"created","issue":{"url":"https://api.github.com/repos/kislyuk/argcomplete/issues/157","repository_url":"https://api.github.com/repos/kislyuk/argcomplete","labels_url":"https://api.github.com/repos/kislyuk/argcomplete/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/kislyuk/argcomplete/issues/157/comments","events_url":"https://api.github.com/repos/kislyuk/argcomplete/issues/157/events","html_url":"https://github.com/kislyuk/argcomplete/pull/157","id":184606694,"number":157,"title":"Expose COMP_TYPE environment variable","user":{"login":"mattclay","id":806360,"avatar_url":"https://avatars.githubusercontent.com/u/806360?v=3","gravatar_id":"","url":"https://api.github.com/users/mattclay","html_url":"https://github.com/mattclay","followers_url":"https://api.github.com/users/mattclay/followers","following_url":"https://api.github.com/users/mattclay/following{/other_user}","gists_url":"https://api.github.com/users/mattclay/gists{/gist_id}","starred_url":"https://api.github.com/users/mattclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattclay/subscriptions","organizations_url":"https://api.github.com/users/mattclay/orgs","repos_url":"https://api.github.com/users/mattclay/repos","events_url":"https://api.github.com/users/mattclay/events{/privacy}","received_events_url":"https://api.github.com/users/mattclay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-22T04:13:46Z","updated_at":"2016-10-22T04:27:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kislyuk/argcomplete/pulls/157","html_url":"https://github.com/kislyuk/argcomplete/pull/157","diff_url":"https://github.com/kislyuk/argcomplete/pull/157.diff","patch_url":"https://github.com/kislyuk/argcomplete/pull/157.patch"},"body":"Resolves #156 \r\n\r\nTested both `python-argcomplete.sh` and `register-python-argcomplete` on Ubuntu 16.04 with:\r\n`GNU bash, version 4.3.46(1)-release (x86_64-pc-linux-gnu)`\r\n\r\nThe first tab completion passes: `COMP_TYPE=9`\r\nThe second tab completion passes: `COMP_TYPE=63`"},"comment":{"url":"https://api.github.com/repos/kislyuk/argcomplete/issues/comments/255506752","html_url":"https://github.com/kislyuk/argcomplete/pull/157#issuecomment-255506752","issue_url":"https://api.github.com/repos/kislyuk/argcomplete/issues/157","id":255506752,"user":{"login":"kislyuk","id":862013,"avatar_url":"https://avatars.githubusercontent.com/u/862013?v=3","gravatar_id":"","url":"https://api.github.com/users/kislyuk","html_url":"https://github.com/kislyuk","followers_url":"https://api.github.com/users/kislyuk/followers","following_url":"https://api.github.com/users/kislyuk/following{/other_user}","gists_url":"https://api.github.com/users/kislyuk/gists{/gist_id}","starred_url":"https://api.github.com/users/kislyuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kislyuk/subscriptions","organizations_url":"https://api.github.com/users/kislyuk/orgs","repos_url":"https://api.github.com/users/kislyuk/repos","events_url":"https://api.github.com/users/kislyuk/events{/privacy}","received_events_url":"https://api.github.com/users/kislyuk/received_events","type":"User","site_admin":false},"created_at":"2016-10-22T04:27:18Z","updated_at":"2016-10-22T04:27:18Z","body":"I think the way to test this is by adding an `assert \"COMP_TYPE\" in os.environ` before `argcomplete.autocomplete()` is called in https://github.com/kislyuk/argcomplete/blob/master/test/prog."}}
{"actor":{"display_login":"kislyuk"}}