{"action":"created","issue":{"url":"https://api.github.com/repos/Bash-it/bash-it/issues/500","labels_url":"https://api.github.com/repos/Bash-it/bash-it/issues/500/labels{/name}","comments_url":"https://api.github.com/repos/Bash-it/bash-it/issues/500/comments","events_url":"https://api.github.com/repos/Bash-it/bash-it/issues/500/events","html_url":"https://github.com/Bash-it/bash-it/pull/500","id":86599803,"number":500,"title":"npm autocompletion","user":{"login":"apaatsio","id":195210,"avatar_url":"https://avatars.githubusercontent.com/u/195210?v=3","gravatar_id":"","url":"https://api.github.com/users/apaatsio","html_url":"https://github.com/apaatsio","followers_url":"https://api.github.com/users/apaatsio/followers","following_url":"https://api.github.com/users/apaatsio/following{/other_user}","gists_url":"https://api.github.com/users/apaatsio/gists{/gist_id}","starred_url":"https://api.github.com/users/apaatsio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apaatsio/subscriptions","organizations_url":"https://api.github.com/users/apaatsio/orgs","repos_url":"https://api.github.com/users/apaatsio/repos","events_url":"https://api.github.com/users/apaatsio/events{/privacy}","received_events_url":"https://api.github.com/users/apaatsio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-09T13:27:45Z","updated_at":"2015-06-09T15:08:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Bash-it/bash-it/pulls/500","html_url":"https://github.com/Bash-it/bash-it/pull/500","diff_url":"https://github.com/Bash-it/bash-it/pull/500.diff","patch_url":"https://github.com/Bash-it/bash-it/pull/500.patch"},"body":"The _npm_completion function was generated with the `npm completion` command (npm version 2.11.0)"},"comment":{"url":"https://api.github.com/repos/Bash-it/bash-it/issues/comments/110395449","html_url":"https://github.com/Bash-it/bash-it/pull/500#issuecomment-110395449","issue_url":"https://api.github.com/repos/Bash-it/bash-it/issues/500","id":110395449,"user":{"login":"jawshooah","id":4551271,"avatar_url":"https://avatars.githubusercontent.com/u/4551271?v=3","gravatar_id":"","url":"https://api.github.com/users/jawshooah","html_url":"https://github.com/jawshooah","followers_url":"https://api.github.com/users/jawshooah/followers","following_url":"https://api.github.com/users/jawshooah/following{/other_user}","gists_url":"https://api.github.com/users/jawshooah/gists{/gist_id}","starred_url":"https://api.github.com/users/jawshooah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jawshooah/subscriptions","organizations_url":"https://api.github.com/users/jawshooah/orgs","repos_url":"https://api.github.com/users/jawshooah/repos","events_url":"https://api.github.com/users/jawshooah/events{/privacy}","received_events_url":"https://api.github.com/users/jawshooah/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T15:08:19Z","updated_at":"2015-06-09T15:08:19Z","body":"Wouldn't it be better to directly use `npm completion`? E.g. `eval \"$(npm completion\"`"}}