{"action":"opened","number":5198,"pull_request":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/5198","id":75938890,"html_url":"https://github.com/robbyrussell/oh-my-zsh/pull/5198","diff_url":"https://github.com/robbyrussell/oh-my-zsh/pull/5198.diff","patch_url":"https://github.com/robbyrussell/oh-my-zsh/pull/5198.patch","issue_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/5198","number":5198,"state":"open","locked":false,"title":"Handle errors when aws_zsh_completer.sh not found","user":{"login":"azmodude","id":688576,"avatar_url":"https://avatars.githubusercontent.com/u/688576?v=3","gravatar_id":"","url":"https://api.github.com/users/azmodude","html_url":"https://github.com/azmodude","followers_url":"https://api.github.com/users/azmodude/followers","following_url":"https://api.github.com/users/azmodude/following{/other_user}","gists_url":"https://api.github.com/users/azmodude/gists{/gist_id}","starred_url":"https://api.github.com/users/azmodude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azmodude/subscriptions","organizations_url":"https://api.github.com/users/azmodude/orgs","repos_url":"https://api.github.com/users/azmodude/repos","events_url":"https://api.github.com/users/azmodude/events{/privacy}","received_events_url":"https://api.github.com/users/azmodude/received_events","type":"User","site_admin":false},"body":"- Redirect `which` stderr output to /dev/null\r\n- Check for empty `_aws_zsh_completer_path` variable\r\n\r\nWhen awscli is not installed or the `aws_zsh_completer.sh` script is not found in the user's path, firing up zsh and having the plugin loaded results in ugly\r\n\r\n- `/usr/bin/which: no aws_zsh_completer.sh in ...` and\r\n- `.../plugins/aws/aws.plugin.zsh:source:36: not enough arguments` errors.\r\n\r\nThis patch does not solve the potential issue of not finding the script (Fedora puts it in `/usr/share/zsh/site-functions`, while e.g. Arch puts it in `/usr/bin`), but at least the plugin does no longer spit out errors on every load.","created_at":"2016-07-01T07:36:45Z","updated_at":"2016-07-01T07:36:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/5198/commits","review_comments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/5198/comments","review_comment_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/5198/comments","statuses_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/statuses/eaa320a8c5292019bdb73518eea93f8010673c9c","head":{"label":"azmodude:bugfix-awsdetection","ref":"bugfix-awsdetection","sha":"eaa320a8c5292019bdb73518eea93f8010673c9c","user":{"login":"azmodude","id":688576,"avatar_url":"https://avatars.githubusercontent.com/u/688576?v=3","gravatar_id":"","url":"https://api.github.com/users/azmodude","html_url":"https://github.com/azmodude","followers_url":"https://api.github.com/users/azmodude/followers","following_url":"https://api.github.com/users/azmodude/following{/other_user}","gists_url":"https://api.github.com/users/azmodude/gists{/gist_id}","starred_url":"https://api.github.com/users/azmodude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azmodude/subscriptions","organizations_url":"https://api.github.com/users/azmodude/orgs","repos_url":"https://api.github.com/users/azmodude/repos","events_url":"https://api.github.com/users/azmodude/events{/privacy}","received_events_url":"https://api.github.com/users/azmodude/received_events","type":"User","site_admin":false},"repo":{"id":62372645,"name":"oh-my-zsh","full_name":"azmodude/oh-my-zsh","owner":{"login":"azmodude","id":688576,"avatar_url":"https://avatars.githubusercontent.com/u/688576?v=3","gravatar_id":"","url":"https://api.github.com/users/azmodude","html_url":"https://github.com/azmodude","followers_url":"https://api.github.com/users/azmodude/followers","following_url":"https://api.github.com/users/azmodude/following{/other_user}","gists_url":"https://api.github.com/users/azmodude/gists{/gist_id}","starred_url":"https://api.github.com/users/azmodude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azmodude/subscriptions","organizations_url":"https://api.github.com/users/azmodude/orgs","repos_url":"https://api.github.com/users/azmodude/repos","events_url":"https://api.github.com/users/azmodude/events{/privacy}","received_events_url":"https://api.github.com/users/azmodude/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/azmodude/oh-my-zsh","description":"A delightful community-driven framework for managing your zsh configuration. Includes 200+ optional plugins (rails, git, OSX, hub, capistrano, brew, ant, php, python, etc), over 140 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.","fork":true,"url":"https://api.github.com/repos/azmodude/oh-my-zsh","forks_url":"https://api.github.com/repos/azmodude/oh-my-zsh/forks","keys_url":"https://api.github.com/repos/azmodude/oh-my-zsh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azmodude/oh-my-zsh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azmodude/oh-my-zsh/teams","hooks_url":"https://api.github.com/repos/azmodude/oh-my-zsh/hooks","issue_events_url":"https://api.github.com/repos/azmodude/oh-my-zsh/issues/events{/number}","events_url":"https://api.github.com/repos/azmodude/oh-my-zsh/events","assignees_url":"https://api.github.com/repos/azmodude/oh-my-zsh/assignees{/user}","branches_url":"https://api.github.com/repos/azmodude/oh-my-zsh/branches{/branch}","tags_url":"https://api.github.com/repos/azmodude/oh-my-zsh/tags","blobs_url":"https://api.github.com/repos/azmodude/oh-my-zsh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azmodude/oh-my-zsh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azmodude/oh-my-zsh/git/refs{/sha}","trees_url":"https://api.github.com/repos/azmodude/oh-my-zsh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azmodude/oh-my-zsh/statuses/{sha}","languages_url":"https://api.github.com/repos/azmodude/oh-my-zsh/languages","stargazers_url":"https://api.github.com/repos/azmodude/oh-my-zsh/stargazers","contributors_url":"https://api.github.com/repos/azmodude/oh-my-zsh/contributors","subscribers_url":"https://api.github.com/repos/azmodude/oh-my-zsh/subscribers","subscription_url":"https://api.github.com/repos/azmodude/oh-my-zsh/subscription","commits_url":"https://api.github.com/repos/azmodude/oh-my-zsh/commits{/sha}","git_commits_url":"https://api.github.com/repos/azmodude/oh-my-zsh/git/commits{/sha}","comments_url":"https://api.github.com/repos/azmodude/oh-my-zsh/comments{/number}","issue_comment_url":"https://api.github.com/repos/azmodude/oh-my-zsh/issues/comments{/number}","contents_url":"https://api.github.com/repos/azmodude/oh-my-zsh/contents/{+path}","compare_url":"https://api.github.com/repos/azmodude/oh-my-zsh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azmodude/oh-my-zsh/merges","archive_url":"https://api.github.com/repos/azmodude/oh-my-zsh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azmodude/oh-my-zsh/downloads","issues_url":"https://api.github.com/repos/azmodude/oh-my-zsh/issues{/number}","pulls_url":"https://api.github.com/repos/azmodude/oh-my-zsh/pulls{/number}","milestones_url":"https://api.github.com/repos/azmodude/oh-my-zsh/milestones{/number}","notifications_url":"https://api.github.com/repos/azmodude/oh-my-zsh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azmodude/oh-my-zsh/labels{/name}","releases_url":"https://api.github.com/repos/azmodude/oh-my-zsh/releases{/id}","deployments_url":"https://api.github.com/repos/azmodude/oh-my-zsh/deployments","created_at":"2016-07-01T07:13:03Z","updated_at":"2016-07-01T07:13:06Z","pushed_at":"2016-07-01T07:30:30Z","git_url":"git://github.com/azmodude/oh-my-zsh.git","ssh_url":"git@github.com:azmodude/oh-my-zsh.git","clone_url":"https://github.com/azmodude/oh-my-zsh.git","svn_url":"https://github.com/azmodude/oh-my-zsh","homepage":"http://ohmyz.sh/","size":15715,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"robbyrussell:master","ref":"master","sha":"7fabc8bca41d4ff7090325116a85513dac852236","user":{"login":"robbyrussell","id":257,"avatar_url":"https://avatars.githubusercontent.com/u/257?v=3","gravatar_id":"","url":"https://api.github.com/users/robbyrussell","html_url":"https://github.com/robbyrussell","followers_url":"https://api.github.com/users/robbyrussell/followers","following_url":"https://api.github.com/users/robbyrussell/following{/other_user}","gists_url":"https://api.github.com/users/robbyrussell/gists{/gist_id}","starred_url":"https://api.github.com/users/robbyrussell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbyrussell/subscriptions","organizations_url":"https://api.github.com/users/robbyrussell/orgs","repos_url":"https://api.github.com/users/robbyrussell/repos","events_url":"https://api.github.com/users/robbyrussell/events{/privacy}","received_events_url":"https://api.github.com/users/robbyrussell/received_events","type":"User","site_admin":false},"repo":{"id":291137,"name":"oh-my-zsh","full_name":"robbyrussell/oh-my-zsh","owner":{"login":"robbyrussell","id":257,"avatar_url":"https://avatars.githubusercontent.com/u/257?v=3","gravatar_id":"","url":"https://api.github.com/users/robbyrussell","html_url":"https://github.com/robbyrussell","followers_url":"https://api.github.com/users/robbyrussell/followers","following_url":"https://api.github.com/users/robbyrussell/following{/other_user}","gists_url":"https://api.github.com/users/robbyrussell/gists{/gist_id}","starred_url":"https://api.github.com/users/robbyrussell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbyrussell/subscriptions","organizations_url":"https://api.github.com/users/robbyrussell/orgs","repos_url":"https://api.github.com/users/robbyrussell/repos","events_url":"https://api.github.com/users/robbyrussell/events{/privacy}","received_events_url":"https://api.github.com/users/robbyrussell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robbyrussell/oh-my-zsh","description":"A delightful community-driven framework for managing your zsh configuration. Includes 200+ optional plugins (rails, git, OSX, hub, capistrano, brew, ant, php, python, etc), over 140 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.","fork":false,"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh","forks_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/forks","keys_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/teams","hooks_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/hooks","issue_events_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/events{/number}","events_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/events","assignees_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/assignees{/user}","branches_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/branches{/branch}","tags_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/tags","blobs_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/git/refs{/sha}","trees_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/statuses/{sha}","languages_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/languages","stargazers_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/stargazers","contributors_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/contributors","subscribers_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/subscribers","subscription_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/subscription","commits_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/commits{/sha}","git_commits_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/git/commits{/sha}","comments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/comments{/number}","issue_comment_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/comments{/number}","contents_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/contents/{+path}","compare_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/merges","archive_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/downloads","issues_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues{/number}","pulls_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls{/number}","milestones_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/milestones{/number}","notifications_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/labels{/name}","releases_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/releases{/id}","deployments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/deployments","created_at":"2009-08-28T18:15:37Z","updated_at":"2016-07-01T07:25:52Z","pushed_at":"2016-06-30T10:33:38Z","git_url":"git://github.com/robbyrussell/oh-my-zsh.git","ssh_url":"git@github.com:robbyrussell/oh-my-zsh.git","clone_url":"https://github.com/robbyrussell/oh-my-zsh.git","svn_url":"https://github.com/robbyrussell/oh-my-zsh","homepage":"http://ohmyz.sh/","size":15715,"stargazers_count":38819,"watchers_count":38819,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9998,"mirror_url":null,"open_issues_count":777,"forks":9998,"open_issues":777,"watchers":38819,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/5198"},"html":{"href":"https://github.com/robbyrussell/oh-my-zsh/pull/5198"},"issue":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/5198"},"comments":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/5198/comments"},"review_comments":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/5198/comments"},"review_comment":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/5198/commits"},"statuses":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/statuses/eaa320a8c5292019bdb73518eea93f8010673c9c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"azmodude"}}