{"action":"created","comment":{"url":"https://api.github.com/repos/phpfu/dotfiles/pulls/comments/42739233","id":42739233,"diff_hunk":"@@ -7,7 +7,7 @@ alias ae='vim ~/.zshrc.d/05-aliases && source ~/.zshrc.d/05-aliases'\n alias ze='vim ~/.zshrc && zgen reset && zsh'\n \n # Debian/Ubuntu\n-unalias ag # remove apt-get alias in favor silversearcher-ag\n+unalias ag 2>/dev/null # remove apt-get alias in favor silversearcher-ag","path":"zshrc.d/05-aliases","position":5,"original_position":5,"commit_id":"45bea4564d1a84d14ce6ce39dd7d53efb16cc25e","original_commit_id":"45bea4564d1a84d14ce6ce39dd7d53efb16cc25e","user":{"login":"jadb","id":33527,"avatar_url":"https://avatars.githubusercontent.com/u/33527?v=3","gravatar_id":"","url":"https://api.github.com/users/jadb","html_url":"https://github.com/jadb","followers_url":"https://api.github.com/users/jadb/followers","following_url":"https://api.github.com/users/jadb/following{/other_user}","gists_url":"https://api.github.com/users/jadb/gists{/gist_id}","starred_url":"https://api.github.com/users/jadb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadb/subscriptions","organizations_url":"https://api.github.com/users/jadb/orgs","repos_url":"https://api.github.com/users/jadb/repos","events_url":"https://api.github.com/users/jadb/events{/privacy}","received_events_url":"https://api.github.com/users/jadb/received_events","type":"User","site_admin":false},"body":"Ok, convinced me ;)","created_at":"2015-10-22T11:59:12Z","updated_at":"2015-10-22T11:59:12Z","html_url":"https://github.com/phpfu/dotfiles/pull/23#discussion_r42739233","pull_request_url":"https://api.github.com/repos/phpfu/dotfiles/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/phpfu/dotfiles/pulls/comments/42739233"},"html":{"href":"https://github.com/phpfu/dotfiles/pull/23#discussion_r42739233"},"pull_request":{"href":"https://api.github.com/repos/phpfu/dotfiles/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/phpfu/dotfiles/pulls/23","id":48283530,"html_url":"https://github.com/phpfu/dotfiles/pull/23","diff_url":"https://github.com/phpfu/dotfiles/pull/23.diff","patch_url":"https://github.com/phpfu/dotfiles/pull/23.patch","issue_url":"https://api.github.com/repos/phpfu/dotfiles/issues/23","number":23,"state":"open","locked":false,"title":"Redirect error if there is no `ag` alias","user":{"login":"deizel","id":24155,"avatar_url":"https://avatars.githubusercontent.com/u/24155?v=3","gravatar_id":"","url":"https://api.github.com/users/deizel","html_url":"https://github.com/deizel","followers_url":"https://api.github.com/users/deizel/followers","following_url":"https://api.github.com/users/deizel/following{/other_user}","gists_url":"https://api.github.com/users/deizel/gists{/gist_id}","starred_url":"https://api.github.com/users/deizel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deizel/subscriptions","organizations_url":"https://api.github.com/users/deizel/orgs","repos_url":"https://api.github.com/users/deizel/repos","events_url":"https://api.github.com/users/deizel/events{/privacy}","received_events_url":"https://api.github.com/users/deizel/received_events","type":"User","site_admin":false},"body":"Fixes error on OSX introduced in #19 - this alias is only set on Debian/Ubuntu.\r\n\r\n    /Users/deizel/.zshrc.d/05-aliases:unalias:11: no such hash table element: ag","created_at":"2015-10-21T03:08:01Z","updated_at":"2015-10-22T11:59:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"788a9fca7b2f4030203e70bfaf45c6d49e5e4e74","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/phpfu/dotfiles/pulls/23/commits","review_comments_url":"https://api.github.com/repos/phpfu/dotfiles/pulls/23/comments","review_comment_url":"https://api.github.com/repos/phpfu/dotfiles/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phpfu/dotfiles/issues/23/comments","statuses_url":"https://api.github.com/repos/phpfu/dotfiles/statuses/45bea4564d1a84d14ce6ce39dd7d53efb16cc25e","head":{"label":"phpfu:ag-error","ref":"ag-error","sha":"45bea4564d1a84d14ce6ce39dd7d53efb16cc25e","user":{"login":"phpfu","id":14846143,"avatar_url":"https://avatars.githubusercontent.com/u/14846143?v=3","gravatar_id":"","url":"https://api.github.com/users/phpfu","html_url":"https://github.com/phpfu","followers_url":"https://api.github.com/users/phpfu/followers","following_url":"https://api.github.com/users/phpfu/following{/other_user}","gists_url":"https://api.github.com/users/phpfu/gists{/gist_id}","starred_url":"https://api.github.com/users/phpfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpfu/subscriptions","organizations_url":"https://api.github.com/users/phpfu/orgs","repos_url":"https://api.github.com/users/phpfu/repos","events_url":"https://api.github.com/users/phpfu/events{/privacy}","received_events_url":"https://api.github.com/users/phpfu/received_events","type":"Organization","site_admin":false},"repo":{"id":42491300,"name":"dotfiles","full_name":"phpfu/dotfiles","owner":{"login":"phpfu","id":14846143,"avatar_url":"https://avatars.githubusercontent.com/u/14846143?v=3","gravatar_id":"","url":"https://api.github.com/users/phpfu","html_url":"https://github.com/phpfu","followers_url":"https://api.github.com/users/phpfu/followers","following_url":"https://api.github.com/users/phpfu/following{/other_user}","gists_url":"https://api.github.com/users/phpfu/gists{/gist_id}","starred_url":"https://api.github.com/users/phpfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpfu/subscriptions","organizations_url":"https://api.github.com/users/phpfu/orgs","repos_url":"https://api.github.com/users/phpfu/repos","events_url":"https://api.github.com/users/phpfu/events{/privacy}","received_events_url":"https://api.github.com/users/phpfu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phpfu/dotfiles","description":"Dotfiles for the PHP-fu in you!","fork":false,"url":"https://api.github.com/repos/phpfu/dotfiles","forks_url":"https://api.github.com/repos/phpfu/dotfiles/forks","keys_url":"https://api.github.com/repos/phpfu/dotfiles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phpfu/dotfiles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phpfu/dotfiles/teams","hooks_url":"https://api.github.com/repos/phpfu/dotfiles/hooks","issue_events_url":"https://api.github.com/repos/phpfu/dotfiles/issues/events{/number}","events_url":"https://api.github.com/repos/phpfu/dotfiles/events","assignees_url":"https://api.github.com/repos/phpfu/dotfiles/assignees{/user}","branches_url":"https://api.github.com/repos/phpfu/dotfiles/branches{/branch}","tags_url":"https://api.github.com/repos/phpfu/dotfiles/tags","blobs_url":"https://api.github.com/repos/phpfu/dotfiles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phpfu/dotfiles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phpfu/dotfiles/git/refs{/sha}","trees_url":"https://api.github.com/repos/phpfu/dotfiles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phpfu/dotfiles/statuses/{sha}","languages_url":"https://api.github.com/repos/phpfu/dotfiles/languages","stargazers_url":"https://api.github.com/repos/phpfu/dotfiles/stargazers","contributors_url":"https://api.github.com/repos/phpfu/dotfiles/contributors","subscribers_url":"https://api.github.com/repos/phpfu/dotfiles/subscribers","subscription_url":"https://api.github.com/repos/phpfu/dotfiles/subscription","commits_url":"https://api.github.com/repos/phpfu/dotfiles/commits{/sha}","git_commits_url":"https://api.github.com/repos/phpfu/dotfiles/git/commits{/sha}","comments_url":"https://api.github.com/repos/phpfu/dotfiles/comments{/number}","issue_comment_url":"https://api.github.com/repos/phpfu/dotfiles/issues/comments{/number}","contents_url":"https://api.github.com/repos/phpfu/dotfiles/contents/{+path}","compare_url":"https://api.github.com/repos/phpfu/dotfiles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phpfu/dotfiles/merges","archive_url":"https://api.github.com/repos/phpfu/dotfiles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phpfu/dotfiles/downloads","issues_url":"https://api.github.com/repos/phpfu/dotfiles/issues{/number}","pulls_url":"https://api.github.com/repos/phpfu/dotfiles/pulls{/number}","milestones_url":"https://api.github.com/repos/phpfu/dotfiles/milestones{/number}","notifications_url":"https://api.github.com/repos/phpfu/dotfiles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phpfu/dotfiles/labels{/name}","releases_url":"https://api.github.com/repos/phpfu/dotfiles/releases{/id}","created_at":"2015-09-15T02:56:08Z","updated_at":"2015-09-26T13:23:55Z","pushed_at":"2015-10-22T11:01:52Z","git_url":"git://github.com/phpfu/dotfiles.git","ssh_url":"git@github.com:phpfu/dotfiles.git","clone_url":"https://github.com/phpfu/dotfiles.git","svn_url":"https://github.com/phpfu/dotfiles","homepage":"","size":360,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"phpfu:master","ref":"master","sha":"b15e1d441394e382ca2b3eda28b110ed205c8818","user":{"login":"phpfu","id":14846143,"avatar_url":"https://avatars.githubusercontent.com/u/14846143?v=3","gravatar_id":"","url":"https://api.github.com/users/phpfu","html_url":"https://github.com/phpfu","followers_url":"https://api.github.com/users/phpfu/followers","following_url":"https://api.github.com/users/phpfu/following{/other_user}","gists_url":"https://api.github.com/users/phpfu/gists{/gist_id}","starred_url":"https://api.github.com/users/phpfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpfu/subscriptions","organizations_url":"https://api.github.com/users/phpfu/orgs","repos_url":"https://api.github.com/users/phpfu/repos","events_url":"https://api.github.com/users/phpfu/events{/privacy}","received_events_url":"https://api.github.com/users/phpfu/received_events","type":"Organization","site_admin":false},"repo":{"id":42491300,"name":"dotfiles","full_name":"phpfu/dotfiles","owner":{"login":"phpfu","id":14846143,"avatar_url":"https://avatars.githubusercontent.com/u/14846143?v=3","gravatar_id":"","url":"https://api.github.com/users/phpfu","html_url":"https://github.com/phpfu","followers_url":"https://api.github.com/users/phpfu/followers","following_url":"https://api.github.com/users/phpfu/following{/other_user}","gists_url":"https://api.github.com/users/phpfu/gists{/gist_id}","starred_url":"https://api.github.com/users/phpfu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpfu/subscriptions","organizations_url":"https://api.github.com/users/phpfu/orgs","repos_url":"https://api.github.com/users/phpfu/repos","events_url":"https://api.github.com/users/phpfu/events{/privacy}","received_events_url":"https://api.github.com/users/phpfu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phpfu/dotfiles","description":"Dotfiles for the PHP-fu in you!","fork":false,"url":"https://api.github.com/repos/phpfu/dotfiles","forks_url":"https://api.github.com/repos/phpfu/dotfiles/forks","keys_url":"https://api.github.com/repos/phpfu/dotfiles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phpfu/dotfiles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phpfu/dotfiles/teams","hooks_url":"https://api.github.com/repos/phpfu/dotfiles/hooks","issue_events_url":"https://api.github.com/repos/phpfu/dotfiles/issues/events{/number}","events_url":"https://api.github.com/repos/phpfu/dotfiles/events","assignees_url":"https://api.github.com/repos/phpfu/dotfiles/assignees{/user}","branches_url":"https://api.github.com/repos/phpfu/dotfiles/branches{/branch}","tags_url":"https://api.github.com/repos/phpfu/dotfiles/tags","blobs_url":"https://api.github.com/repos/phpfu/dotfiles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phpfu/dotfiles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phpfu/dotfiles/git/refs{/sha}","trees_url":"https://api.github.com/repos/phpfu/dotfiles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phpfu/dotfiles/statuses/{sha}","languages_url":"https://api.github.com/repos/phpfu/dotfiles/languages","stargazers_url":"https://api.github.com/repos/phpfu/dotfiles/stargazers","contributors_url":"https://api.github.com/repos/phpfu/dotfiles/contributors","subscribers_url":"https://api.github.com/repos/phpfu/dotfiles/subscribers","subscription_url":"https://api.github.com/repos/phpfu/dotfiles/subscription","commits_url":"https://api.github.com/repos/phpfu/dotfiles/commits{/sha}","git_commits_url":"https://api.github.com/repos/phpfu/dotfiles/git/commits{/sha}","comments_url":"https://api.github.com/repos/phpfu/dotfiles/comments{/number}","issue_comment_url":"https://api.github.com/repos/phpfu/dotfiles/issues/comments{/number}","contents_url":"https://api.github.com/repos/phpfu/dotfiles/contents/{+path}","compare_url":"https://api.github.com/repos/phpfu/dotfiles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phpfu/dotfiles/merges","archive_url":"https://api.github.com/repos/phpfu/dotfiles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phpfu/dotfiles/downloads","issues_url":"https://api.github.com/repos/phpfu/dotfiles/issues{/number}","pulls_url":"https://api.github.com/repos/phpfu/dotfiles/pulls{/number}","milestones_url":"https://api.github.com/repos/phpfu/dotfiles/milestones{/number}","notifications_url":"https://api.github.com/repos/phpfu/dotfiles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phpfu/dotfiles/labels{/name}","releases_url":"https://api.github.com/repos/phpfu/dotfiles/releases{/id}","created_at":"2015-09-15T02:56:08Z","updated_at":"2015-09-26T13:23:55Z","pushed_at":"2015-10-22T11:01:52Z","git_url":"git://github.com/phpfu/dotfiles.git","ssh_url":"git@github.com:phpfu/dotfiles.git","clone_url":"https://github.com/phpfu/dotfiles.git","svn_url":"https://github.com/phpfu/dotfiles","homepage":"","size":360,"stargazers_count":1,"watchers_count":1,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/phpfu/dotfiles/pulls/23"},"html":{"href":"https://github.com/phpfu/dotfiles/pull/23"},"issue":{"href":"https://api.github.com/repos/phpfu/dotfiles/issues/23"},"comments":{"href":"https://api.github.com/repos/phpfu/dotfiles/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/phpfu/dotfiles/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/phpfu/dotfiles/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phpfu/dotfiles/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/phpfu/dotfiles/statuses/45bea4564d1a84d14ce6ce39dd7d53efb16cc25e"}}}}