{"action":"closed","number":20,"pull_request":{"url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/pulls/20","id":85316236,"html_url":"https://github.com/NHDaly/tmux-scroll-copy-mode/pull/20","diff_url":"https://github.com/NHDaly/tmux-scroll-copy-mode/pull/20.diff","patch_url":"https://github.com/NHDaly/tmux-scroll-copy-mode/pull/20.patch","issue_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/issues/20","number":20,"state":"closed","locked":false,"title":"Comparisons & arithmetic expansion POSIX compatibility","user":{"login":"zeorin","id":1187078,"avatar_url":"https://avatars.githubusercontent.com/u/1187078?v=3","gravatar_id":"","url":"https://api.github.com/users/zeorin","html_url":"https://github.com/zeorin","followers_url":"https://api.github.com/users/zeorin/followers","following_url":"https://api.github.com/users/zeorin/following{/other_user}","gists_url":"https://api.github.com/users/zeorin/gists{/gist_id}","starred_url":"https://api.github.com/users/zeorin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeorin/subscriptions","organizations_url":"https://api.github.com/users/zeorin/orgs","repos_url":"https://api.github.com/users/zeorin/repos","events_url":"https://api.github.com/users/zeorin/events{/privacy}","received_events_url":"https://api.github.com/users/zeorin/received_events","type":"User","site_admin":false},"body":"`/usr/bin/env sh` on Debian-based (and possibly other) Linux systems is actually the `dash` shell, which is a strictly POSIX-compatible shell that does not support any \"bashisms\".\n\nThis PR fixes those bashisms so that they work on these systems. The other option was to change the script interpreter to bash explicitly, but dash is more performant than bash.\n\nFixes most of #19, except that Vim scrolling still doesn't work.","created_at":"2016-09-14T22:23:16Z","updated_at":"2016-09-14T23:59:11Z","closed_at":"2016-09-14T23:59:11Z","merged_at":"2016-09-14T23:59:11Z","merge_commit_sha":"5abce7b4bbdbcee4cfe2309b86241f2e5cc034b1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/pulls/20/commits","review_comments_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/pulls/20/comments","review_comment_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/issues/20/comments","statuses_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/statuses/5abce7b4bbdbcee4cfe2309b86241f2e5cc034b1","head":{"label":"zeorin:posix-compatibility","ref":"posix-compatibility","sha":"5abce7b4bbdbcee4cfe2309b86241f2e5cc034b1","user":{"login":"zeorin","id":1187078,"avatar_url":"https://avatars.githubusercontent.com/u/1187078?v=3","gravatar_id":"","url":"https://api.github.com/users/zeorin","html_url":"https://github.com/zeorin","followers_url":"https://api.github.com/users/zeorin/followers","following_url":"https://api.github.com/users/zeorin/following{/other_user}","gists_url":"https://api.github.com/users/zeorin/gists{/gist_id}","starred_url":"https://api.github.com/users/zeorin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeorin/subscriptions","organizations_url":"https://api.github.com/users/zeorin/orgs","repos_url":"https://api.github.com/users/zeorin/repos","events_url":"https://api.github.com/users/zeorin/events{/privacy}","received_events_url":"https://api.github.com/users/zeorin/received_events","type":"User","site_admin":false},"repo":{"id":68246532,"name":"tmux-scroll-copy-mode","full_name":"zeorin/tmux-scroll-copy-mode","owner":{"login":"zeorin","id":1187078,"avatar_url":"https://avatars.githubusercontent.com/u/1187078?v=3","gravatar_id":"","url":"https://api.github.com/users/zeorin","html_url":"https://github.com/zeorin","followers_url":"https://api.github.com/users/zeorin/followers","following_url":"https://api.github.com/users/zeorin/following{/other_user}","gists_url":"https://api.github.com/users/zeorin/gists{/gist_id}","starred_url":"https://api.github.com/users/zeorin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zeorin/subscriptions","organizations_url":"https://api.github.com/users/zeorin/orgs","repos_url":"https://api.github.com/users/zeorin/repos","events_url":"https://api.github.com/users/zeorin/events{/privacy}","received_events_url":"https://api.github.com/users/zeorin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zeorin/tmux-scroll-copy-mode","description":"Restores pre-2.1 behavior of entering and exiting copy-mode with the scroll wheel.","fork":true,"url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode","forks_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/forks","keys_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/teams","hooks_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/hooks","issue_events_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/issues/events{/number}","events_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/events","assignees_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/assignees{/user}","branches_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/branches{/branch}","tags_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/tags","blobs_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/git/refs{/sha}","trees_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/statuses/{sha}","languages_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/languages","stargazers_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/stargazers","contributors_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/contributors","subscribers_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/subscribers","subscription_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/subscription","commits_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/commits{/sha}","git_commits_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/git/commits{/sha}","comments_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/comments{/number}","issue_comment_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/issues/comments{/number}","contents_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/contents/{+path}","compare_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/merges","archive_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/downloads","issues_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/issues{/number}","pulls_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/pulls{/number}","milestones_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/milestones{/number}","notifications_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/labels{/name}","releases_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/releases{/id}","deployments_url":"https://api.github.com/repos/zeorin/tmux-scroll-copy-mode/deployments","created_at":"2016-09-14T21:55:44Z","updated_at":"2016-09-14T21:55:45Z","pushed_at":"2016-09-14T22:19:40Z","git_url":"git://github.com/zeorin/tmux-scroll-copy-mode.git","ssh_url":"git@github.com:zeorin/tmux-scroll-copy-mode.git","clone_url":"https://github.com/zeorin/tmux-scroll-copy-mode.git","svn_url":"https://github.com/zeorin/tmux-scroll-copy-mode","homepage":null,"size":19,"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":"NHDaly:master","ref":"master","sha":"d157c5fbd0850b2066dc388322b1f29c4290a86e","user":{"login":"NHDaly","id":1582097,"avatar_url":"https://avatars.githubusercontent.com/u/1582097?v=3","gravatar_id":"","url":"https://api.github.com/users/NHDaly","html_url":"https://github.com/NHDaly","followers_url":"https://api.github.com/users/NHDaly/followers","following_url":"https://api.github.com/users/NHDaly/following{/other_user}","gists_url":"https://api.github.com/users/NHDaly/gists{/gist_id}","starred_url":"https://api.github.com/users/NHDaly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NHDaly/subscriptions","organizations_url":"https://api.github.com/users/NHDaly/orgs","repos_url":"https://api.github.com/users/NHDaly/repos","events_url":"https://api.github.com/users/NHDaly/events{/privacy}","received_events_url":"https://api.github.com/users/NHDaly/received_events","type":"User","site_admin":false},"repo":{"id":44527610,"name":"tmux-scroll-copy-mode","full_name":"NHDaly/tmux-scroll-copy-mode","owner":{"login":"NHDaly","id":1582097,"avatar_url":"https://avatars.githubusercontent.com/u/1582097?v=3","gravatar_id":"","url":"https://api.github.com/users/NHDaly","html_url":"https://github.com/NHDaly","followers_url":"https://api.github.com/users/NHDaly/followers","following_url":"https://api.github.com/users/NHDaly/following{/other_user}","gists_url":"https://api.github.com/users/NHDaly/gists{/gist_id}","starred_url":"https://api.github.com/users/NHDaly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NHDaly/subscriptions","organizations_url":"https://api.github.com/users/NHDaly/orgs","repos_url":"https://api.github.com/users/NHDaly/repos","events_url":"https://api.github.com/users/NHDaly/events{/privacy}","received_events_url":"https://api.github.com/users/NHDaly/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NHDaly/tmux-scroll-copy-mode","description":"Restores pre-2.1 behavior of entering and exiting copy-mode with the scroll wheel.","fork":false,"url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode","forks_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/forks","keys_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/teams","hooks_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/hooks","issue_events_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/issues/events{/number}","events_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/events","assignees_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/assignees{/user}","branches_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/branches{/branch}","tags_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/tags","blobs_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/git/refs{/sha}","trees_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/statuses/{sha}","languages_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/languages","stargazers_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/stargazers","contributors_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/contributors","subscribers_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/subscribers","subscription_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/subscription","commits_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/commits{/sha}","git_commits_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/git/commits{/sha}","comments_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/comments{/number}","issue_comment_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/issues/comments{/number}","contents_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/contents/{+path}","compare_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/merges","archive_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/downloads","issues_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/issues{/number}","pulls_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/pulls{/number}","milestones_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/milestones{/number}","notifications_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/labels{/name}","releases_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/releases{/id}","deployments_url":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/deployments","created_at":"2015-10-19T10:33:06Z","updated_at":"2016-09-04T13:01:33Z","pushed_at":"2016-09-14T23:59:11Z","git_url":"git://github.com/NHDaly/tmux-scroll-copy-mode.git","ssh_url":"git@github.com:NHDaly/tmux-scroll-copy-mode.git","clone_url":"https://github.com/NHDaly/tmux-scroll-copy-mode.git","svn_url":"https://github.com/NHDaly/tmux-scroll-copy-mode","homepage":null,"size":21,"stargazers_count":167,"watchers_count":167,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":4,"forks":7,"open_issues":4,"watchers":167,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/pulls/20"},"html":{"href":"https://github.com/NHDaly/tmux-scroll-copy-mode/pull/20"},"issue":{"href":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/issues/20"},"comments":{"href":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/NHDaly/tmux-scroll-copy-mode/statuses/5abce7b4bbdbcee4cfe2309b86241f2e5cc034b1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"NHDaly","id":1582097,"avatar_url":"https://avatars.githubusercontent.com/u/1582097?v=3","gravatar_id":"","url":"https://api.github.com/users/NHDaly","html_url":"https://github.com/NHDaly","followers_url":"https://api.github.com/users/NHDaly/followers","following_url":"https://api.github.com/users/NHDaly/following{/other_user}","gists_url":"https://api.github.com/users/NHDaly/gists{/gist_id}","starred_url":"https://api.github.com/users/NHDaly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NHDaly/subscriptions","organizations_url":"https://api.github.com/users/NHDaly/orgs","repos_url":"https://api.github.com/users/NHDaly/repos","events_url":"https://api.github.com/users/NHDaly/events{/privacy}","received_events_url":"https://api.github.com/users/NHDaly/received_events","type":"User","site_admin":false},"comments":1,"review_comments":2,"commits":1,"additions":5,"deletions":5,"changed_files":2}}
{"actor":{"display_login":"NHDaly"}}