{"action":"created","comment":{"url":"https://api.github.com/repos/jwilm/alacritty/pulls/comments/94976343","pull_request_review_id":15519888,"id":94976343,"diff_hunk":"@@ -805,7 +805,12 @@ impl Config {\n     /// 1. `$HOME/.config/alacritty.yml`\n     /// 2. `$HOME/.alacritty.yml`\n     pub fn load() -> Result<Config> {\n-        let home = env::var(\"HOME\")?;\n+        let home = env::var(\"HOME\")\n+            .or_else(|err| if cfg!(windows) {","path":"src/config.rs","position":15,"original_position":15,"commit_id":"02ef081a919b244c97ce03f9aee6461cf18629ea","original_commit_id":"02ef081a919b244c97ce03f9aee6461cf18629ea","user":{"login":"jwilm","id":4285147,"avatar_url":"https://avatars.githubusercontent.com/u/4285147?v=3","gravatar_id":"","url":"https://api.github.com/users/jwilm","html_url":"https://github.com/jwilm","followers_url":"https://api.github.com/users/jwilm/followers","following_url":"https://api.github.com/users/jwilm/following{/other_user}","gists_url":"https://api.github.com/users/jwilm/gists{/gist_id}","starred_url":"https://api.github.com/users/jwilm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwilm/subscriptions","organizations_url":"https://api.github.com/users/jwilm/orgs","repos_url":"https://api.github.com/users/jwilm/repos","events_url":"https://api.github.com/users/jwilm/events{/privacy}","received_events_url":"https://api.github.com/users/jwilm/received_events","type":"User","site_admin":false},"body":"I think it might make sense to hold off on Windows-specific logic and just add it all at once. This code path won't be tested by CI right now and nobody will be running it.","created_at":"2017-01-06T16:44:15Z","updated_at":"2017-01-06T16:45:53Z","html_url":"https://github.com/jwilm/alacritty/pull/74#discussion_r94976343","pull_request_url":"https://api.github.com/repos/jwilm/alacritty/pulls/74","_links":{"self":{"href":"https://api.github.com/repos/jwilm/alacritty/pulls/comments/94976343"},"html":{"href":"https://github.com/jwilm/alacritty/pull/74#discussion_r94976343"},"pull_request":{"href":"https://api.github.com/repos/jwilm/alacritty/pulls/74"}}},"pull_request":{"url":"https://api.github.com/repos/jwilm/alacritty/pulls/74","id":100410258,"html_url":"https://github.com/jwilm/alacritty/pull/74","diff_url":"https://github.com/jwilm/alacritty/pull/74.diff","patch_url":"https://github.com/jwilm/alacritty/pull/74.patch","issue_url":"https://api.github.com/repos/jwilm/alacritty/issues/74","number":74,"state":"open","locked":false,"title":"Write default config when not found","user":{"login":"quininer","id":6286761,"avatar_url":"https://avatars.githubusercontent.com/u/6286761?v=3","gravatar_id":"","url":"https://api.github.com/users/quininer","html_url":"https://github.com/quininer","followers_url":"https://api.github.com/users/quininer/followers","following_url":"https://api.github.com/users/quininer/following{/other_user}","gists_url":"https://api.github.com/users/quininer/gists{/gist_id}","starred_url":"https://api.github.com/users/quininer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quininer/subscriptions","organizations_url":"https://api.github.com/users/quininer/orgs","repos_url":"https://api.github.com/users/quininer/repos","events_url":"https://api.github.com/users/quininer/events{/privacy}","received_events_url":"https://api.github.com/users/quininer/received_events","type":"User","site_admin":false},"body":"+ write default config to home\r\n+ support windows path","created_at":"2017-01-06T05:00:32Z","updated_at":"2017-01-06T16:45:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cbf4dd6b767b52747d495d1336ab09856ee9e8b6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jwilm/alacritty/pulls/74/commits","review_comments_url":"https://api.github.com/repos/jwilm/alacritty/pulls/74/comments","review_comment_url":"https://api.github.com/repos/jwilm/alacritty/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jwilm/alacritty/issues/74/comments","statuses_url":"https://api.github.com/repos/jwilm/alacritty/statuses/02ef081a919b244c97ce03f9aee6461cf18629ea","head":{"label":"quininer:config","ref":"config","sha":"02ef081a919b244c97ce03f9aee6461cf18629ea","user":{"login":"quininer","id":6286761,"avatar_url":"https://avatars.githubusercontent.com/u/6286761?v=3","gravatar_id":"","url":"https://api.github.com/users/quininer","html_url":"https://github.com/quininer","followers_url":"https://api.github.com/users/quininer/followers","following_url":"https://api.github.com/users/quininer/following{/other_user}","gists_url":"https://api.github.com/users/quininer/gists{/gist_id}","starred_url":"https://api.github.com/users/quininer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quininer/subscriptions","organizations_url":"https://api.github.com/users/quininer/orgs","repos_url":"https://api.github.com/users/quininer/repos","events_url":"https://api.github.com/users/quininer/events{/privacy}","received_events_url":"https://api.github.com/users/quininer/received_events","type":"User","site_admin":false},"repo":{"id":76635126,"name":"alacritty","full_name":"quininer/alacritty","owner":{"login":"quininer","id":6286761,"avatar_url":"https://avatars.githubusercontent.com/u/6286761?v=3","gravatar_id":"","url":"https://api.github.com/users/quininer","html_url":"https://github.com/quininer","followers_url":"https://api.github.com/users/quininer/followers","following_url":"https://api.github.com/users/quininer/following{/other_user}","gists_url":"https://api.github.com/users/quininer/gists{/gist_id}","starred_url":"https://api.github.com/users/quininer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quininer/subscriptions","organizations_url":"https://api.github.com/users/quininer/orgs","repos_url":"https://api.github.com/users/quininer/repos","events_url":"https://api.github.com/users/quininer/events{/privacy}","received_events_url":"https://api.github.com/users/quininer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quininer/alacritty","description":"WORK IN PROGRESS","fork":true,"url":"https://api.github.com/repos/quininer/alacritty","forks_url":"https://api.github.com/repos/quininer/alacritty/forks","keys_url":"https://api.github.com/repos/quininer/alacritty/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quininer/alacritty/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quininer/alacritty/teams","hooks_url":"https://api.github.com/repos/quininer/alacritty/hooks","issue_events_url":"https://api.github.com/repos/quininer/alacritty/issues/events{/number}","events_url":"https://api.github.com/repos/quininer/alacritty/events","assignees_url":"https://api.github.com/repos/quininer/alacritty/assignees{/user}","branches_url":"https://api.github.com/repos/quininer/alacritty/branches{/branch}","tags_url":"https://api.github.com/repos/quininer/alacritty/tags","blobs_url":"https://api.github.com/repos/quininer/alacritty/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quininer/alacritty/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quininer/alacritty/git/refs{/sha}","trees_url":"https://api.github.com/repos/quininer/alacritty/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quininer/alacritty/statuses/{sha}","languages_url":"https://api.github.com/repos/quininer/alacritty/languages","stargazers_url":"https://api.github.com/repos/quininer/alacritty/stargazers","contributors_url":"https://api.github.com/repos/quininer/alacritty/contributors","subscribers_url":"https://api.github.com/repos/quininer/alacritty/subscribers","subscription_url":"https://api.github.com/repos/quininer/alacritty/subscription","commits_url":"https://api.github.com/repos/quininer/alacritty/commits{/sha}","git_commits_url":"https://api.github.com/repos/quininer/alacritty/git/commits{/sha}","comments_url":"https://api.github.com/repos/quininer/alacritty/comments{/number}","issue_comment_url":"https://api.github.com/repos/quininer/alacritty/issues/comments{/number}","contents_url":"https://api.github.com/repos/quininer/alacritty/contents/{+path}","compare_url":"https://api.github.com/repos/quininer/alacritty/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quininer/alacritty/merges","archive_url":"https://api.github.com/repos/quininer/alacritty/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quininer/alacritty/downloads","issues_url":"https://api.github.com/repos/quininer/alacritty/issues{/number}","pulls_url":"https://api.github.com/repos/quininer/alacritty/pulls{/number}","milestones_url":"https://api.github.com/repos/quininer/alacritty/milestones{/number}","notifications_url":"https://api.github.com/repos/quininer/alacritty/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quininer/alacritty/labels{/name}","releases_url":"https://api.github.com/repos/quininer/alacritty/releases{/id}","deployments_url":"https://api.github.com/repos/quininer/alacritty/deployments","created_at":"2016-12-16T08:14:48Z","updated_at":"2016-12-16T08:14:51Z","pushed_at":"2017-01-06T09:24:30Z","git_url":"git://github.com/quininer/alacritty.git","ssh_url":"git@github.com:quininer/alacritty.git","clone_url":"https://github.com/quininer/alacritty.git","svn_url":"https://github.com/quininer/alacritty","homepage":"","size":630,"stargazers_count":0,"watchers_count":0,"language":"Rust","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":"jwilm:master","ref":"master","sha":"3c57c0388727884f9ed4e6066f1b58408ad3fed1","user":{"login":"jwilm","id":4285147,"avatar_url":"https://avatars.githubusercontent.com/u/4285147?v=3","gravatar_id":"","url":"https://api.github.com/users/jwilm","html_url":"https://github.com/jwilm","followers_url":"https://api.github.com/users/jwilm/followers","following_url":"https://api.github.com/users/jwilm/following{/other_user}","gists_url":"https://api.github.com/users/jwilm/gists{/gist_id}","starred_url":"https://api.github.com/users/jwilm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwilm/subscriptions","organizations_url":"https://api.github.com/users/jwilm/orgs","repos_url":"https://api.github.com/users/jwilm/repos","events_url":"https://api.github.com/users/jwilm/events{/privacy}","received_events_url":"https://api.github.com/users/jwilm/received_events","type":"User","site_admin":false},"repo":{"id":51980455,"name":"alacritty","full_name":"jwilm/alacritty","owner":{"login":"jwilm","id":4285147,"avatar_url":"https://avatars.githubusercontent.com/u/4285147?v=3","gravatar_id":"","url":"https://api.github.com/users/jwilm","html_url":"https://github.com/jwilm","followers_url":"https://api.github.com/users/jwilm/followers","following_url":"https://api.github.com/users/jwilm/following{/other_user}","gists_url":"https://api.github.com/users/jwilm/gists{/gist_id}","starred_url":"https://api.github.com/users/jwilm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwilm/subscriptions","organizations_url":"https://api.github.com/users/jwilm/orgs","repos_url":"https://api.github.com/users/jwilm/repos","events_url":"https://api.github.com/users/jwilm/events{/privacy}","received_events_url":"https://api.github.com/users/jwilm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jwilm/alacritty","description":"A cross-platform, GPU enhanced terminal emulator","fork":false,"url":"https://api.github.com/repos/jwilm/alacritty","forks_url":"https://api.github.com/repos/jwilm/alacritty/forks","keys_url":"https://api.github.com/repos/jwilm/alacritty/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jwilm/alacritty/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jwilm/alacritty/teams","hooks_url":"https://api.github.com/repos/jwilm/alacritty/hooks","issue_events_url":"https://api.github.com/repos/jwilm/alacritty/issues/events{/number}","events_url":"https://api.github.com/repos/jwilm/alacritty/events","assignees_url":"https://api.github.com/repos/jwilm/alacritty/assignees{/user}","branches_url":"https://api.github.com/repos/jwilm/alacritty/branches{/branch}","tags_url":"https://api.github.com/repos/jwilm/alacritty/tags","blobs_url":"https://api.github.com/repos/jwilm/alacritty/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jwilm/alacritty/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jwilm/alacritty/git/refs{/sha}","trees_url":"https://api.github.com/repos/jwilm/alacritty/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jwilm/alacritty/statuses/{sha}","languages_url":"https://api.github.com/repos/jwilm/alacritty/languages","stargazers_url":"https://api.github.com/repos/jwilm/alacritty/stargazers","contributors_url":"https://api.github.com/repos/jwilm/alacritty/contributors","subscribers_url":"https://api.github.com/repos/jwilm/alacritty/subscribers","subscription_url":"https://api.github.com/repos/jwilm/alacritty/subscription","commits_url":"https://api.github.com/repos/jwilm/alacritty/commits{/sha}","git_commits_url":"https://api.github.com/repos/jwilm/alacritty/git/commits{/sha}","comments_url":"https://api.github.com/repos/jwilm/alacritty/comments{/number}","issue_comment_url":"https://api.github.com/repos/jwilm/alacritty/issues/comments{/number}","contents_url":"https://api.github.com/repos/jwilm/alacritty/contents/{+path}","compare_url":"https://api.github.com/repos/jwilm/alacritty/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jwilm/alacritty/merges","archive_url":"https://api.github.com/repos/jwilm/alacritty/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jwilm/alacritty/downloads","issues_url":"https://api.github.com/repos/jwilm/alacritty/issues{/number}","pulls_url":"https://api.github.com/repos/jwilm/alacritty/pulls{/number}","milestones_url":"https://api.github.com/repos/jwilm/alacritty/milestones{/number}","notifications_url":"https://api.github.com/repos/jwilm/alacritty/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jwilm/alacritty/labels{/name}","releases_url":"https://api.github.com/repos/jwilm/alacritty/releases{/id}","deployments_url":"https://api.github.com/repos/jwilm/alacritty/deployments","created_at":"2016-02-18T05:02:30Z","updated_at":"2017-01-06T16:35:50Z","pushed_at":"2017-01-06T16:31:59Z","git_url":"git://github.com/jwilm/alacritty.git","ssh_url":"git@github.com:jwilm/alacritty.git","clone_url":"https://github.com/jwilm/alacritty.git","svn_url":"https://github.com/jwilm/alacritty","homepage":"","size":709,"stargazers_count":220,"watchers_count":220,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":34,"forks":12,"open_issues":34,"watchers":220,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jwilm/alacritty/pulls/74"},"html":{"href":"https://github.com/jwilm/alacritty/pull/74"},"issue":{"href":"https://api.github.com/repos/jwilm/alacritty/issues/74"},"comments":{"href":"https://api.github.com/repos/jwilm/alacritty/issues/74/comments"},"review_comments":{"href":"https://api.github.com/repos/jwilm/alacritty/pulls/74/comments"},"review_comment":{"href":"https://api.github.com/repos/jwilm/alacritty/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jwilm/alacritty/pulls/74/commits"},"statuses":{"href":"https://api.github.com/repos/jwilm/alacritty/statuses/02ef081a919b244c97ce03f9aee6461cf18629ea"}}}}
{"actor":{"display_login":"jwilm"}}