{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/posva/catimg/pulls/1","id":45327875,"html_url":"https://github.com/posva/catimg/pull/1","diff_url":"https://github.com/posva/catimg/pull/1.diff","patch_url":"https://github.com/posva/catimg/pull/1.patch","issue_url":"https://api.github.com/repos/posva/catimg/issues/1","number":1,"state":"closed","locked":false,"title":"Use Bash from $PATH","user":{"login":"ggustafsson","id":595501,"avatar_url":"https://avatars.githubusercontent.com/u/595501?v=3","gravatar_id":"","url":"https://api.github.com/users/ggustafsson","html_url":"https://github.com/ggustafsson","followers_url":"https://api.github.com/users/ggustafsson/followers","following_url":"https://api.github.com/users/ggustafsson/following{/other_user}","gists_url":"https://api.github.com/users/ggustafsson/gists{/gist_id}","starred_url":"https://api.github.com/users/ggustafsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggustafsson/subscriptions","organizations_url":"https://api.github.com/users/ggustafsson/orgs","repos_url":"https://api.github.com/users/ggustafsson/repos","events_url":"https://api.github.com/users/ggustafsson/events{/privacy}","received_events_url":"https://api.github.com/users/ggustafsson/received_events","type":"User","site_admin":false},"body":"If you use \"#!/usr/bin/env bash\" instead then the PATH variable specifies where to look for \"bash\" first. Basically this makes it really easy for users to override the system bash version with a user installed bash version, for example through Homebrew.\r\n\r\nExample:\r\n```\r\n#!/usr/bin/env bash\r\n+\r\nPATH=\"/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin\"\r\n=\r\nExecution of /usr/local/bin/bash instead of /bin/bash because it is specified first.\r\n```","created_at":"2015-09-17T18:57:32Z","updated_at":"2015-09-17T19:23:42Z","closed_at":"2015-09-17T19:23:42Z","merged_at":"2015-09-17T19:23:42Z","merge_commit_sha":"861a0aedc8b88508e73732d6a500fa8deee52e44","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/posva/catimg/pulls/1/commits","review_comments_url":"https://api.github.com/repos/posva/catimg/pulls/1/comments","review_comment_url":"https://api.github.com/repos/posva/catimg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/posva/catimg/issues/1/comments","statuses_url":"https://api.github.com/repos/posva/catimg/statuses/c72d5dc2b4e70c08647da267d3360eaf1a7e2d86","head":{"label":"ggustafsson:patch-1","ref":"patch-1","sha":"c72d5dc2b4e70c08647da267d3360eaf1a7e2d86","user":{"login":"ggustafsson","id":595501,"avatar_url":"https://avatars.githubusercontent.com/u/595501?v=3","gravatar_id":"","url":"https://api.github.com/users/ggustafsson","html_url":"https://github.com/ggustafsson","followers_url":"https://api.github.com/users/ggustafsson/followers","following_url":"https://api.github.com/users/ggustafsson/following{/other_user}","gists_url":"https://api.github.com/users/ggustafsson/gists{/gist_id}","starred_url":"https://api.github.com/users/ggustafsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggustafsson/subscriptions","organizations_url":"https://api.github.com/users/ggustafsson/orgs","repos_url":"https://api.github.com/users/ggustafsson/repos","events_url":"https://api.github.com/users/ggustafsson/events{/privacy}","received_events_url":"https://api.github.com/users/ggustafsson/received_events","type":"User","site_admin":false},"repo":{"id":42674791,"name":"catimg","full_name":"ggustafsson/catimg","owner":{"login":"ggustafsson","id":595501,"avatar_url":"https://avatars.githubusercontent.com/u/595501?v=3","gravatar_id":"","url":"https://api.github.com/users/ggustafsson","html_url":"https://github.com/ggustafsson","followers_url":"https://api.github.com/users/ggustafsson/followers","following_url":"https://api.github.com/users/ggustafsson/following{/other_user}","gists_url":"https://api.github.com/users/ggustafsson/gists{/gist_id}","starred_url":"https://api.github.com/users/ggustafsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggustafsson/subscriptions","organizations_url":"https://api.github.com/users/ggustafsson/orgs","repos_url":"https://api.github.com/users/ggustafsson/repos","events_url":"https://api.github.com/users/ggustafsson/events{/privacy}","received_events_url":"https://api.github.com/users/ggustafsson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ggustafsson/catimg","description":":squirrel: Print images in a terminal with 256 colors support","fork":true,"url":"https://api.github.com/repos/ggustafsson/catimg","forks_url":"https://api.github.com/repos/ggustafsson/catimg/forks","keys_url":"https://api.github.com/repos/ggustafsson/catimg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ggustafsson/catimg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ggustafsson/catimg/teams","hooks_url":"https://api.github.com/repos/ggustafsson/catimg/hooks","issue_events_url":"https://api.github.com/repos/ggustafsson/catimg/issues/events{/number}","events_url":"https://api.github.com/repos/ggustafsson/catimg/events","assignees_url":"https://api.github.com/repos/ggustafsson/catimg/assignees{/user}","branches_url":"https://api.github.com/repos/ggustafsson/catimg/branches{/branch}","tags_url":"https://api.github.com/repos/ggustafsson/catimg/tags","blobs_url":"https://api.github.com/repos/ggustafsson/catimg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ggustafsson/catimg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ggustafsson/catimg/git/refs{/sha}","trees_url":"https://api.github.com/repos/ggustafsson/catimg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ggustafsson/catimg/statuses/{sha}","languages_url":"https://api.github.com/repos/ggustafsson/catimg/languages","stargazers_url":"https://api.github.com/repos/ggustafsson/catimg/stargazers","contributors_url":"https://api.github.com/repos/ggustafsson/catimg/contributors","subscribers_url":"https://api.github.com/repos/ggustafsson/catimg/subscribers","subscription_url":"https://api.github.com/repos/ggustafsson/catimg/subscription","commits_url":"https://api.github.com/repos/ggustafsson/catimg/commits{/sha}","git_commits_url":"https://api.github.com/repos/ggustafsson/catimg/git/commits{/sha}","comments_url":"https://api.github.com/repos/ggustafsson/catimg/comments{/number}","issue_comment_url":"https://api.github.com/repos/ggustafsson/catimg/issues/comments{/number}","contents_url":"https://api.github.com/repos/ggustafsson/catimg/contents/{+path}","compare_url":"https://api.github.com/repos/ggustafsson/catimg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ggustafsson/catimg/merges","archive_url":"https://api.github.com/repos/ggustafsson/catimg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ggustafsson/catimg/downloads","issues_url":"https://api.github.com/repos/ggustafsson/catimg/issues{/number}","pulls_url":"https://api.github.com/repos/ggustafsson/catimg/pulls{/number}","milestones_url":"https://api.github.com/repos/ggustafsson/catimg/milestones{/number}","notifications_url":"https://api.github.com/repos/ggustafsson/catimg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ggustafsson/catimg/labels{/name}","releases_url":"https://api.github.com/repos/ggustafsson/catimg/releases{/id}","created_at":"2015-09-17T18:42:14Z","updated_at":"2015-09-17T18:42:15Z","pushed_at":"2015-09-17T18:56:16Z","git_url":"git://github.com/ggustafsson/catimg.git","ssh_url":"git@github.com:ggustafsson/catimg.git","clone_url":"https://github.com/ggustafsson/catimg.git","svn_url":"https://github.com/ggustafsson/catimg","homepage":"http://posva.net/shell/retro/bash/2013/05/27/catimg/","size":211,"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":"posva:master","ref":"master","sha":"498dcf6dd7cebb3857926a43865ff96ce052c43b","user":{"login":"posva","id":664177,"avatar_url":"https://avatars.githubusercontent.com/u/664177?v=3","gravatar_id":"","url":"https://api.github.com/users/posva","html_url":"https://github.com/posva","followers_url":"https://api.github.com/users/posva/followers","following_url":"https://api.github.com/users/posva/following{/other_user}","gists_url":"https://api.github.com/users/posva/gists{/gist_id}","starred_url":"https://api.github.com/users/posva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/posva/subscriptions","organizations_url":"https://api.github.com/users/posva/orgs","repos_url":"https://api.github.com/users/posva/repos","events_url":"https://api.github.com/users/posva/events{/privacy}","received_events_url":"https://api.github.com/users/posva/received_events","type":"User","site_admin":false},"repo":{"id":10304181,"name":"catimg","full_name":"posva/catimg","owner":{"login":"posva","id":664177,"avatar_url":"https://avatars.githubusercontent.com/u/664177?v=3","gravatar_id":"","url":"https://api.github.com/users/posva","html_url":"https://github.com/posva","followers_url":"https://api.github.com/users/posva/followers","following_url":"https://api.github.com/users/posva/following{/other_user}","gists_url":"https://api.github.com/users/posva/gists{/gist_id}","starred_url":"https://api.github.com/users/posva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/posva/subscriptions","organizations_url":"https://api.github.com/users/posva/orgs","repos_url":"https://api.github.com/users/posva/repos","events_url":"https://api.github.com/users/posva/events{/privacy}","received_events_url":"https://api.github.com/users/posva/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/posva/catimg","description":":squirrel: Print images in a terminal with 256 colors support","fork":false,"url":"https://api.github.com/repos/posva/catimg","forks_url":"https://api.github.com/repos/posva/catimg/forks","keys_url":"https://api.github.com/repos/posva/catimg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/posva/catimg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/posva/catimg/teams","hooks_url":"https://api.github.com/repos/posva/catimg/hooks","issue_events_url":"https://api.github.com/repos/posva/catimg/issues/events{/number}","events_url":"https://api.github.com/repos/posva/catimg/events","assignees_url":"https://api.github.com/repos/posva/catimg/assignees{/user}","branches_url":"https://api.github.com/repos/posva/catimg/branches{/branch}","tags_url":"https://api.github.com/repos/posva/catimg/tags","blobs_url":"https://api.github.com/repos/posva/catimg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/posva/catimg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/posva/catimg/git/refs{/sha}","trees_url":"https://api.github.com/repos/posva/catimg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/posva/catimg/statuses/{sha}","languages_url":"https://api.github.com/repos/posva/catimg/languages","stargazers_url":"https://api.github.com/repos/posva/catimg/stargazers","contributors_url":"https://api.github.com/repos/posva/catimg/contributors","subscribers_url":"https://api.github.com/repos/posva/catimg/subscribers","subscription_url":"https://api.github.com/repos/posva/catimg/subscription","commits_url":"https://api.github.com/repos/posva/catimg/commits{/sha}","git_commits_url":"https://api.github.com/repos/posva/catimg/git/commits{/sha}","comments_url":"https://api.github.com/repos/posva/catimg/comments{/number}","issue_comment_url":"https://api.github.com/repos/posva/catimg/issues/comments{/number}","contents_url":"https://api.github.com/repos/posva/catimg/contents/{+path}","compare_url":"https://api.github.com/repos/posva/catimg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/posva/catimg/merges","archive_url":"https://api.github.com/repos/posva/catimg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/posva/catimg/downloads","issues_url":"https://api.github.com/repos/posva/catimg/issues{/number}","pulls_url":"https://api.github.com/repos/posva/catimg/pulls{/number}","milestones_url":"https://api.github.com/repos/posva/catimg/milestones{/number}","notifications_url":"https://api.github.com/repos/posva/catimg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/posva/catimg/labels{/name}","releases_url":"https://api.github.com/repos/posva/catimg/releases{/id}","created_at":"2013-05-26T22:01:55Z","updated_at":"2015-09-17T19:05:47Z","pushed_at":"2015-09-17T19:23:42Z","git_url":"git://github.com/posva/catimg.git","ssh_url":"git@github.com:posva/catimg.git","clone_url":"https://github.com/posva/catimg.git","svn_url":"https://github.com/posva/catimg","homepage":"http://posva.net/shell/retro/bash/2013/05/27/catimg/","size":419,"stargazers_count":51,"watchers_count":51,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":51,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/posva/catimg/pulls/1"},"html":{"href":"https://github.com/posva/catimg/pull/1"},"issue":{"href":"https://api.github.com/repos/posva/catimg/issues/1"},"comments":{"href":"https://api.github.com/repos/posva/catimg/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/posva/catimg/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/posva/catimg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/posva/catimg/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/posva/catimg/statuses/c72d5dc2b4e70c08647da267d3360eaf1a7e2d86"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"posva","id":664177,"avatar_url":"https://avatars.githubusercontent.com/u/664177?v=3","gravatar_id":"","url":"https://api.github.com/users/posva","html_url":"https://github.com/posva","followers_url":"https://api.github.com/users/posva/followers","following_url":"https://api.github.com/users/posva/following{/other_user}","gists_url":"https://api.github.com/users/posva/gists{/gist_id}","starred_url":"https://api.github.com/users/posva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/posva/subscriptions","organizations_url":"https://api.github.com/users/posva/orgs","repos_url":"https://api.github.com/users/posva/repos","events_url":"https://api.github.com/users/posva/events{/privacy}","received_events_url":"https://api.github.com/users/posva/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}