{"action":"opened","number":2764,"pull_request":{"url":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2764","id":60877567,"html_url":"https://github.com/fish-shell/fish-shell/pull/2764","diff_url":"https://github.com/fish-shell/fish-shell/pull/2764.diff","patch_url":"https://github.com/fish-shell/fish-shell/pull/2764.patch","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2764","number":2764,"state":"open","locked":false,"title":"Don't extract 0.0.0.0 hostnames from /etc/hosts for completions.","user":{"login":"floam","id":291142,"avatar_url":"https://avatars.githubusercontent.com/u/291142?v=3","gravatar_id":"","url":"https://api.github.com/users/floam","html_url":"https://github.com/floam","followers_url":"https://api.github.com/users/floam/followers","following_url":"https://api.github.com/users/floam/following{/other_user}","gists_url":"https://api.github.com/users/floam/gists{/gist_id}","starred_url":"https://api.github.com/users/floam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floam/subscriptions","organizations_url":"https://api.github.com/users/floam/orgs","repos_url":"https://api.github.com/users/floam/repos","events_url":"https://api.github.com/users/floam/events{/privacy}","received_events_url":"https://api.github.com/users/floam/received_events","type":"User","site_admin":false},"body":"My /etc/hosts is 12432 lines long. I use this hosts file (which uses 0.0.0.0 instead of the more traditional 127.0.0.1) to block stuff.\r\n\r\nSo, typing ssh and hitting tab gives me suggestions for thousands of hostnames I want nothing to do with. It’s very slow.\r\n\r\nThis change sped things up significantly and made my completions useful. Don’t think it should affect things negatively as 0.0.0.0 isn’t routable - it’s hard to imagine someone expecting such hosts in their completions.","created_at":"2016-02-26T17:45:52Z","updated_at":"2016-02-26T17:45:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2764/commits","review_comments_url":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2764/comments","review_comment_url":"https://api.github.com/repos/fish-shell/fish-shell/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2764/comments","statuses_url":"https://api.github.com/repos/fish-shell/fish-shell/statuses/d522352cf71ade4a246bc64f41dcb96fa92ce519","head":{"label":"floam:no-0.0.0.0-in-hosts-compl","ref":"no-0.0.0.0-in-hosts-compl","sha":"d522352cf71ade4a246bc64f41dcb96fa92ce519","user":{"login":"floam","id":291142,"avatar_url":"https://avatars.githubusercontent.com/u/291142?v=3","gravatar_id":"","url":"https://api.github.com/users/floam","html_url":"https://github.com/floam","followers_url":"https://api.github.com/users/floam/followers","following_url":"https://api.github.com/users/floam/following{/other_user}","gists_url":"https://api.github.com/users/floam/gists{/gist_id}","starred_url":"https://api.github.com/users/floam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floam/subscriptions","organizations_url":"https://api.github.com/users/floam/orgs","repos_url":"https://api.github.com/users/floam/repos","events_url":"https://api.github.com/users/floam/events{/privacy}","received_events_url":"https://api.github.com/users/floam/received_events","type":"User","site_admin":false},"repo":{"id":51836351,"name":"fish-shell","full_name":"floam/fish-shell","owner":{"login":"floam","id":291142,"avatar_url":"https://avatars.githubusercontent.com/u/291142?v=3","gravatar_id":"","url":"https://api.github.com/users/floam","html_url":"https://github.com/floam","followers_url":"https://api.github.com/users/floam/followers","following_url":"https://api.github.com/users/floam/following{/other_user}","gists_url":"https://api.github.com/users/floam/gists{/gist_id}","starred_url":"https://api.github.com/users/floam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/floam/subscriptions","organizations_url":"https://api.github.com/users/floam/orgs","repos_url":"https://api.github.com/users/floam/repos","events_url":"https://api.github.com/users/floam/events{/privacy}","received_events_url":"https://api.github.com/users/floam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/floam/fish-shell","description":"The user-friendly command line shell.","fork":true,"url":"https://api.github.com/repos/floam/fish-shell","forks_url":"https://api.github.com/repos/floam/fish-shell/forks","keys_url":"https://api.github.com/repos/floam/fish-shell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/floam/fish-shell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/floam/fish-shell/teams","hooks_url":"https://api.github.com/repos/floam/fish-shell/hooks","issue_events_url":"https://api.github.com/repos/floam/fish-shell/issues/events{/number}","events_url":"https://api.github.com/repos/floam/fish-shell/events","assignees_url":"https://api.github.com/repos/floam/fish-shell/assignees{/user}","branches_url":"https://api.github.com/repos/floam/fish-shell/branches{/branch}","tags_url":"https://api.github.com/repos/floam/fish-shell/tags","blobs_url":"https://api.github.com/repos/floam/fish-shell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/floam/fish-shell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/floam/fish-shell/git/refs{/sha}","trees_url":"https://api.github.com/repos/floam/fish-shell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/floam/fish-shell/statuses/{sha}","languages_url":"https://api.github.com/repos/floam/fish-shell/languages","stargazers_url":"https://api.github.com/repos/floam/fish-shell/stargazers","contributors_url":"https://api.github.com/repos/floam/fish-shell/contributors","subscribers_url":"https://api.github.com/repos/floam/fish-shell/subscribers","subscription_url":"https://api.github.com/repos/floam/fish-shell/subscription","commits_url":"https://api.github.com/repos/floam/fish-shell/commits{/sha}","git_commits_url":"https://api.github.com/repos/floam/fish-shell/git/commits{/sha}","comments_url":"https://api.github.com/repos/floam/fish-shell/comments{/number}","issue_comment_url":"https://api.github.com/repos/floam/fish-shell/issues/comments{/number}","contents_url":"https://api.github.com/repos/floam/fish-shell/contents/{+path}","compare_url":"https://api.github.com/repos/floam/fish-shell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/floam/fish-shell/merges","archive_url":"https://api.github.com/repos/floam/fish-shell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/floam/fish-shell/downloads","issues_url":"https://api.github.com/repos/floam/fish-shell/issues{/number}","pulls_url":"https://api.github.com/repos/floam/fish-shell/pulls{/number}","milestones_url":"https://api.github.com/repos/floam/fish-shell/milestones{/number}","notifications_url":"https://api.github.com/repos/floam/fish-shell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/floam/fish-shell/labels{/name}","releases_url":"https://api.github.com/repos/floam/fish-shell/releases{/id}","deployments_url":"https://api.github.com/repos/floam/fish-shell/deployments","created_at":"2016-02-16T13:07:03Z","updated_at":"2016-02-16T13:07:06Z","pushed_at":"2016-02-26T17:42:07Z","git_url":"git://github.com/floam/fish-shell.git","ssh_url":"git@github.com:floam/fish-shell.git","clone_url":"https://github.com/floam/fish-shell.git","svn_url":"https://github.com/floam/fish-shell","homepage":"http://fishshell.com","size":28502,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"fish-shell:master","ref":"master","sha":"c359d28b21dee5f3fe3e0a7a544b5c4d6f84cfeb","user":{"login":"fish-shell","id":1828073,"avatar_url":"https://avatars.githubusercontent.com/u/1828073?v=3","gravatar_id":"","url":"https://api.github.com/users/fish-shell","html_url":"https://github.com/fish-shell","followers_url":"https://api.github.com/users/fish-shell/followers","following_url":"https://api.github.com/users/fish-shell/following{/other_user}","gists_url":"https://api.github.com/users/fish-shell/gists{/gist_id}","starred_url":"https://api.github.com/users/fish-shell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fish-shell/subscriptions","organizations_url":"https://api.github.com/users/fish-shell/orgs","repos_url":"https://api.github.com/users/fish-shell/repos","events_url":"https://api.github.com/users/fish-shell/events{/privacy}","received_events_url":"https://api.github.com/users/fish-shell/received_events","type":"Organization","site_admin":false},"repo":{"id":4279682,"name":"fish-shell","full_name":"fish-shell/fish-shell","owner":{"login":"fish-shell","id":1828073,"avatar_url":"https://avatars.githubusercontent.com/u/1828073?v=3","gravatar_id":"","url":"https://api.github.com/users/fish-shell","html_url":"https://github.com/fish-shell","followers_url":"https://api.github.com/users/fish-shell/followers","following_url":"https://api.github.com/users/fish-shell/following{/other_user}","gists_url":"https://api.github.com/users/fish-shell/gists{/gist_id}","starred_url":"https://api.github.com/users/fish-shell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fish-shell/subscriptions","organizations_url":"https://api.github.com/users/fish-shell/orgs","repos_url":"https://api.github.com/users/fish-shell/repos","events_url":"https://api.github.com/users/fish-shell/events{/privacy}","received_events_url":"https://api.github.com/users/fish-shell/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fish-shell/fish-shell","description":"The user-friendly command line shell.","fork":false,"url":"https://api.github.com/repos/fish-shell/fish-shell","forks_url":"https://api.github.com/repos/fish-shell/fish-shell/forks","keys_url":"https://api.github.com/repos/fish-shell/fish-shell/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fish-shell/fish-shell/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fish-shell/fish-shell/teams","hooks_url":"https://api.github.com/repos/fish-shell/fish-shell/hooks","issue_events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/events{/number}","events_url":"https://api.github.com/repos/fish-shell/fish-shell/events","assignees_url":"https://api.github.com/repos/fish-shell/fish-shell/assignees{/user}","branches_url":"https://api.github.com/repos/fish-shell/fish-shell/branches{/branch}","tags_url":"https://api.github.com/repos/fish-shell/fish-shell/tags","blobs_url":"https://api.github.com/repos/fish-shell/fish-shell/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fish-shell/fish-shell/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fish-shell/fish-shell/git/refs{/sha}","trees_url":"https://api.github.com/repos/fish-shell/fish-shell/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fish-shell/fish-shell/statuses/{sha}","languages_url":"https://api.github.com/repos/fish-shell/fish-shell/languages","stargazers_url":"https://api.github.com/repos/fish-shell/fish-shell/stargazers","contributors_url":"https://api.github.com/repos/fish-shell/fish-shell/contributors","subscribers_url":"https://api.github.com/repos/fish-shell/fish-shell/subscribers","subscription_url":"https://api.github.com/repos/fish-shell/fish-shell/subscription","commits_url":"https://api.github.com/repos/fish-shell/fish-shell/commits{/sha}","git_commits_url":"https://api.github.com/repos/fish-shell/fish-shell/git/commits{/sha}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/comments{/number}","issue_comment_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments{/number}","contents_url":"https://api.github.com/repos/fish-shell/fish-shell/contents/{+path}","compare_url":"https://api.github.com/repos/fish-shell/fish-shell/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fish-shell/fish-shell/merges","archive_url":"https://api.github.com/repos/fish-shell/fish-shell/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fish-shell/fish-shell/downloads","issues_url":"https://api.github.com/repos/fish-shell/fish-shell/issues{/number}","pulls_url":"https://api.github.com/repos/fish-shell/fish-shell/pulls{/number}","milestones_url":"https://api.github.com/repos/fish-shell/fish-shell/milestones{/number}","notifications_url":"https://api.github.com/repos/fish-shell/fish-shell/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/labels{/name}","releases_url":"https://api.github.com/repos/fish-shell/fish-shell/releases{/id}","deployments_url":"https://api.github.com/repos/fish-shell/fish-shell/deployments","created_at":"2012-05-10T03:00:55Z","updated_at":"2016-02-26T16:17:37Z","pushed_at":"2016-02-26T17:35:01Z","git_url":"git://github.com/fish-shell/fish-shell.git","ssh_url":"git@github.com:fish-shell/fish-shell.git","clone_url":"https://github.com/fish-shell/fish-shell.git","svn_url":"https://github.com/fish-shell/fish-shell","homepage":"http://fishshell.com","size":32033,"stargazers_count":5479,"watchers_count":5479,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":526,"mirror_url":null,"open_issues_count":585,"forks":526,"open_issues":585,"watchers":5479,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2764"},"html":{"href":"https://github.com/fish-shell/fish-shell/pull/2764"},"issue":{"href":"https://api.github.com/repos/fish-shell/fish-shell/issues/2764"},"comments":{"href":"https://api.github.com/repos/fish-shell/fish-shell/issues/2764/comments"},"review_comments":{"href":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2764/comments"},"review_comment":{"href":"https://api.github.com/repos/fish-shell/fish-shell/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2764/commits"},"statuses":{"href":"https://api.github.com/repos/fish-shell/fish-shell/statuses/d522352cf71ade4a246bc64f41dcb96fa92ce519"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":2,"changed_files":1}}