{"action":"created","comment":{"url":"https://api.github.com/repos/falconindy/pkgfile/pulls/comments/76869748","id":76869748,"diff_hunk":"@@ -150,7 +150,11 @@ Storage location for metadata.\n =item I</usr/share/doc/pkgfile/command-not-found.fish>\n \n zsh, bash and fish compatible functions which can be included in shell initalization\n-to run pkgfile when an executed command is not found.\n+to run pkgfile when an executed command is not found. \n+\n+If you want to be prompted to install the found package, set the environment variable:\n+\n+  PKGFILE_PROMPT_INSTALL_MISSING=y","path":"README.pod","position":9,"original_position":9,"commit_id":"a1771bb4f4b5789a80821f633fde51bae8404290","original_commit_id":"a1771bb4f4b5789a80821f633fde51bae8404290","user":{"login":"falconindy","id":99302,"avatar_url":"https://avatars.githubusercontent.com/u/99302?v=3","gravatar_id":"","url":"https://api.github.com/users/falconindy","html_url":"https://github.com/falconindy","followers_url":"https://api.github.com/users/falconindy/followers","following_url":"https://api.github.com/users/falconindy/following{/other_user}","gists_url":"https://api.github.com/users/falconindy/gists{/gist_id}","starred_url":"https://api.github.com/users/falconindy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falconindy/subscriptions","organizations_url":"https://api.github.com/users/falconindy/orgs","repos_url":"https://api.github.com/users/falconindy/repos","events_url":"https://api.github.com/users/falconindy/events{/privacy}","received_events_url":"https://api.github.com/users/falconindy/received_events","type":"User","site_admin":false},"body":"Well, but it isn't just \"y\" -- it's any value.","created_at":"2016-08-30T20:10:40Z","updated_at":"2016-08-30T20:10:40Z","html_url":"https://github.com/falconindy/pkgfile/pull/26#discussion_r76869748","pull_request_url":"https://api.github.com/repos/falconindy/pkgfile/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/falconindy/pkgfile/pulls/comments/76869748"},"html":{"href":"https://github.com/falconindy/pkgfile/pull/26#discussion_r76869748"},"pull_request":{"href":"https://api.github.com/repos/falconindy/pkgfile/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/falconindy/pkgfile/pulls/26","id":82926745,"html_url":"https://github.com/falconindy/pkgfile/pull/26","diff_url":"https://github.com/falconindy/pkgfile/pull/26.diff","patch_url":"https://github.com/falconindy/pkgfile/pull/26.patch","issue_url":"https://api.github.com/repos/falconindy/pkgfile/issues/26","number":26,"state":"open","locked":false,"title":"Added option to install package if only one package is found.","user":{"login":"bag-man","id":4195057,"avatar_url":"https://avatars.githubusercontent.com/u/4195057?v=3","gravatar_id":"","url":"https://api.github.com/users/bag-man","html_url":"https://github.com/bag-man","followers_url":"https://api.github.com/users/bag-man/followers","following_url":"https://api.github.com/users/bag-man/following{/other_user}","gists_url":"https://api.github.com/users/bag-man/gists{/gist_id}","starred_url":"https://api.github.com/users/bag-man/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bag-man/subscriptions","organizations_url":"https://api.github.com/users/bag-man/orgs","repos_url":"https://api.github.com/users/bag-man/repos","events_url":"https://api.github.com/users/bag-man/events{/privacy}","received_events_url":"https://api.github.com/users/bag-man/received_events","type":"User","site_admin":false},"body":"I've always thought it would be handy for pkgfile to prompt you to install the package that it found for you. So this gives you the following output: \r\n\r\n    ~ > ifconfig\r\n    Install core/net-tools? [Y/n] n\r\n    ~ > ifconfig\r\n    Install core/net-tools? [Y/n] y\r\n    \r\n    [sudo] password for owg1: \r\n    resolving dependencies...\r\n    looking for conflicting packages...\r\n    \r\n    Packages (1) net-tools-1.60.20160710git-1\r\n    \r\n    Total Installed Size:  0.46 MiB\r\n    \r\n    :: Proceed with installation? [Y/n] \r\n    (1/1) checking keys in keyring                                          [########################################] 100%\r\n    (1/1) checking package integrity                                        [########################################] 100%\r\n    (1/1) loading package files                                             [########################################] 100%\r\n    (1/1) checking for file conflicts                                       [########################################] 100%\r\n    (1/1) checking available disk space                                     [########################################] 100%\r\n    :: Processing package changes...\r\n    (1/1) installing net-tools                                              [########################################] 100%\r\n    :: Running post-transaction hooks...\r\n    (1/1) Updating manpage index...\r\n    \r\n","created_at":"2016-08-26T17:47:03Z","updated_at":"2016-08-30T20:10:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a9a79fbe9eb9e1af0362a8f32d19d7e628612777","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/falconindy/pkgfile/pulls/26/commits","review_comments_url":"https://api.github.com/repos/falconindy/pkgfile/pulls/26/comments","review_comment_url":"https://api.github.com/repos/falconindy/pkgfile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/falconindy/pkgfile/issues/26/comments","statuses_url":"https://api.github.com/repos/falconindy/pkgfile/statuses/a1771bb4f4b5789a80821f633fde51bae8404290","head":{"label":"bag-man:master","ref":"master","sha":"a1771bb4f4b5789a80821f633fde51bae8404290","user":{"login":"bag-man","id":4195057,"avatar_url":"https://avatars.githubusercontent.com/u/4195057?v=3","gravatar_id":"","url":"https://api.github.com/users/bag-man","html_url":"https://github.com/bag-man","followers_url":"https://api.github.com/users/bag-man/followers","following_url":"https://api.github.com/users/bag-man/following{/other_user}","gists_url":"https://api.github.com/users/bag-man/gists{/gist_id}","starred_url":"https://api.github.com/users/bag-man/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bag-man/subscriptions","organizations_url":"https://api.github.com/users/bag-man/orgs","repos_url":"https://api.github.com/users/bag-man/repos","events_url":"https://api.github.com/users/bag-man/events{/privacy}","received_events_url":"https://api.github.com/users/bag-man/received_events","type":"User","site_admin":false},"repo":{"id":66666990,"name":"pkgfile","full_name":"bag-man/pkgfile","owner":{"login":"bag-man","id":4195057,"avatar_url":"https://avatars.githubusercontent.com/u/4195057?v=3","gravatar_id":"","url":"https://api.github.com/users/bag-man","html_url":"https://github.com/bag-man","followers_url":"https://api.github.com/users/bag-man/followers","following_url":"https://api.github.com/users/bag-man/following{/other_user}","gists_url":"https://api.github.com/users/bag-man/gists{/gist_id}","starred_url":"https://api.github.com/users/bag-man/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bag-man/subscriptions","organizations_url":"https://api.github.com/users/bag-man/orgs","repos_url":"https://api.github.com/users/bag-man/repos","events_url":"https://api.github.com/users/bag-man/events{/privacy}","received_events_url":"https://api.github.com/users/bag-man/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bag-man/pkgfile","description":"an alpm .files metadata explorer","fork":true,"url":"https://api.github.com/repos/bag-man/pkgfile","forks_url":"https://api.github.com/repos/bag-man/pkgfile/forks","keys_url":"https://api.github.com/repos/bag-man/pkgfile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bag-man/pkgfile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bag-man/pkgfile/teams","hooks_url":"https://api.github.com/repos/bag-man/pkgfile/hooks","issue_events_url":"https://api.github.com/repos/bag-man/pkgfile/issues/events{/number}","events_url":"https://api.github.com/repos/bag-man/pkgfile/events","assignees_url":"https://api.github.com/repos/bag-man/pkgfile/assignees{/user}","branches_url":"https://api.github.com/repos/bag-man/pkgfile/branches{/branch}","tags_url":"https://api.github.com/repos/bag-man/pkgfile/tags","blobs_url":"https://api.github.com/repos/bag-man/pkgfile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bag-man/pkgfile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bag-man/pkgfile/git/refs{/sha}","trees_url":"https://api.github.com/repos/bag-man/pkgfile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bag-man/pkgfile/statuses/{sha}","languages_url":"https://api.github.com/repos/bag-man/pkgfile/languages","stargazers_url":"https://api.github.com/repos/bag-man/pkgfile/stargazers","contributors_url":"https://api.github.com/repos/bag-man/pkgfile/contributors","subscribers_url":"https://api.github.com/repos/bag-man/pkgfile/subscribers","subscription_url":"https://api.github.com/repos/bag-man/pkgfile/subscription","commits_url":"https://api.github.com/repos/bag-man/pkgfile/commits{/sha}","git_commits_url":"https://api.github.com/repos/bag-man/pkgfile/git/commits{/sha}","comments_url":"https://api.github.com/repos/bag-man/pkgfile/comments{/number}","issue_comment_url":"https://api.github.com/repos/bag-man/pkgfile/issues/comments{/number}","contents_url":"https://api.github.com/repos/bag-man/pkgfile/contents/{+path}","compare_url":"https://api.github.com/repos/bag-man/pkgfile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bag-man/pkgfile/merges","archive_url":"https://api.github.com/repos/bag-man/pkgfile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bag-man/pkgfile/downloads","issues_url":"https://api.github.com/repos/bag-man/pkgfile/issues{/number}","pulls_url":"https://api.github.com/repos/bag-man/pkgfile/pulls{/number}","milestones_url":"https://api.github.com/repos/bag-man/pkgfile/milestones{/number}","notifications_url":"https://api.github.com/repos/bag-man/pkgfile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bag-man/pkgfile/labels{/name}","releases_url":"https://api.github.com/repos/bag-man/pkgfile/releases{/id}","deployments_url":"https://api.github.com/repos/bag-man/pkgfile/deployments","created_at":"2016-08-26T17:34:59Z","updated_at":"2016-08-26T17:35:00Z","pushed_at":"2016-08-30T15:19:14Z","git_url":"git://github.com/bag-man/pkgfile.git","ssh_url":"git@github.com:bag-man/pkgfile.git","clone_url":"https://github.com/bag-man/pkgfile.git","svn_url":"https://github.com/bag-man/pkgfile","homepage":"","size":385,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"falconindy:master","ref":"master","sha":"7ace342b55551ee7104b43ba5fffa5daaa69a930","user":{"login":"falconindy","id":99302,"avatar_url":"https://avatars.githubusercontent.com/u/99302?v=3","gravatar_id":"","url":"https://api.github.com/users/falconindy","html_url":"https://github.com/falconindy","followers_url":"https://api.github.com/users/falconindy/followers","following_url":"https://api.github.com/users/falconindy/following{/other_user}","gists_url":"https://api.github.com/users/falconindy/gists{/gist_id}","starred_url":"https://api.github.com/users/falconindy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falconindy/subscriptions","organizations_url":"https://api.github.com/users/falconindy/orgs","repos_url":"https://api.github.com/users/falconindy/repos","events_url":"https://api.github.com/users/falconindy/events{/privacy}","received_events_url":"https://api.github.com/users/falconindy/received_events","type":"User","site_admin":false},"repo":{"id":2263950,"name":"pkgfile","full_name":"falconindy/pkgfile","owner":{"login":"falconindy","id":99302,"avatar_url":"https://avatars.githubusercontent.com/u/99302?v=3","gravatar_id":"","url":"https://api.github.com/users/falconindy","html_url":"https://github.com/falconindy","followers_url":"https://api.github.com/users/falconindy/followers","following_url":"https://api.github.com/users/falconindy/following{/other_user}","gists_url":"https://api.github.com/users/falconindy/gists{/gist_id}","starred_url":"https://api.github.com/users/falconindy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/falconindy/subscriptions","organizations_url":"https://api.github.com/users/falconindy/orgs","repos_url":"https://api.github.com/users/falconindy/repos","events_url":"https://api.github.com/users/falconindy/events{/privacy}","received_events_url":"https://api.github.com/users/falconindy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/falconindy/pkgfile","description":"an alpm .files metadata explorer","fork":false,"url":"https://api.github.com/repos/falconindy/pkgfile","forks_url":"https://api.github.com/repos/falconindy/pkgfile/forks","keys_url":"https://api.github.com/repos/falconindy/pkgfile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/falconindy/pkgfile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/falconindy/pkgfile/teams","hooks_url":"https://api.github.com/repos/falconindy/pkgfile/hooks","issue_events_url":"https://api.github.com/repos/falconindy/pkgfile/issues/events{/number}","events_url":"https://api.github.com/repos/falconindy/pkgfile/events","assignees_url":"https://api.github.com/repos/falconindy/pkgfile/assignees{/user}","branches_url":"https://api.github.com/repos/falconindy/pkgfile/branches{/branch}","tags_url":"https://api.github.com/repos/falconindy/pkgfile/tags","blobs_url":"https://api.github.com/repos/falconindy/pkgfile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/falconindy/pkgfile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/falconindy/pkgfile/git/refs{/sha}","trees_url":"https://api.github.com/repos/falconindy/pkgfile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/falconindy/pkgfile/statuses/{sha}","languages_url":"https://api.github.com/repos/falconindy/pkgfile/languages","stargazers_url":"https://api.github.com/repos/falconindy/pkgfile/stargazers","contributors_url":"https://api.github.com/repos/falconindy/pkgfile/contributors","subscribers_url":"https://api.github.com/repos/falconindy/pkgfile/subscribers","subscription_url":"https://api.github.com/repos/falconindy/pkgfile/subscription","commits_url":"https://api.github.com/repos/falconindy/pkgfile/commits{/sha}","git_commits_url":"https://api.github.com/repos/falconindy/pkgfile/git/commits{/sha}","comments_url":"https://api.github.com/repos/falconindy/pkgfile/comments{/number}","issue_comment_url":"https://api.github.com/repos/falconindy/pkgfile/issues/comments{/number}","contents_url":"https://api.github.com/repos/falconindy/pkgfile/contents/{+path}","compare_url":"https://api.github.com/repos/falconindy/pkgfile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/falconindy/pkgfile/merges","archive_url":"https://api.github.com/repos/falconindy/pkgfile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/falconindy/pkgfile/downloads","issues_url":"https://api.github.com/repos/falconindy/pkgfile/issues{/number}","pulls_url":"https://api.github.com/repos/falconindy/pkgfile/pulls{/number}","milestones_url":"https://api.github.com/repos/falconindy/pkgfile/milestones{/number}","notifications_url":"https://api.github.com/repos/falconindy/pkgfile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/falconindy/pkgfile/labels{/name}","releases_url":"https://api.github.com/repos/falconindy/pkgfile/releases{/id}","deployments_url":"https://api.github.com/repos/falconindy/pkgfile/deployments","created_at":"2011-08-24T19:59:38Z","updated_at":"2016-08-26T18:37:25Z","pushed_at":"2016-08-30T15:19:15Z","git_url":"git://github.com/falconindy/pkgfile.git","ssh_url":"git@github.com:falconindy/pkgfile.git","clone_url":"https://github.com/falconindy/pkgfile.git","svn_url":"https://github.com/falconindy/pkgfile","homepage":"","size":803,"stargazers_count":34,"watchers_count":34,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":2,"forks":8,"open_issues":2,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/falconindy/pkgfile/pulls/26"},"html":{"href":"https://github.com/falconindy/pkgfile/pull/26"},"issue":{"href":"https://api.github.com/repos/falconindy/pkgfile/issues/26"},"comments":{"href":"https://api.github.com/repos/falconindy/pkgfile/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/falconindy/pkgfile/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/falconindy/pkgfile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/falconindy/pkgfile/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/falconindy/pkgfile/statuses/a1771bb4f4b5789a80821f633fde51bae8404290"}}}}
{"actor":{"display_login":"falconindy"}}