{"action":"created","comment":{"url":"https://api.github.com/repos/supasate/yosh/pulls/comments/72936664","id":72936664,"diff_hunk":"@@ -54,14 +53,16 @@ def shell_loop():\n         # Make it more looks like bash command prompt\n         if os.getcwd() == os.getenv('HOME'):\n             dir = \"~\"\n+        elif os.getcwd() == os.getenv('HOME') + \"/yosh\":\n+            dir = \"\"","path":"yosh/shell.py","position":null,"original_position":13,"commit_id":"6d66ca2c751102dc0e69bfcbcd7eb9c31a30459f","original_commit_id":"1bcbf1927cb76947e52aee17ea8b03ee3f811189","user":{"login":"YuliangTan","id":6512977,"avatar_url":"https://avatars.githubusercontent.com/u/6512977?v=3","gravatar_id":"","url":"https://api.github.com/users/YuliangTan","html_url":"https://github.com/YuliangTan","followers_url":"https://api.github.com/users/YuliangTan/followers","following_url":"https://api.github.com/users/YuliangTan/following{/other_user}","gists_url":"https://api.github.com/users/YuliangTan/gists{/gist_id}","starred_url":"https://api.github.com/users/YuliangTan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuliangTan/subscriptions","organizations_url":"https://api.github.com/users/YuliangTan/orgs","repos_url":"https://api.github.com/users/YuliangTan/repos","events_url":"https://api.github.com/users/YuliangTan/events{/privacy}","received_events_url":"https://api.github.com/users/YuliangTan/received_events","type":"User","site_admin":false},"body":"But I think the /home/user/yosh is not the real home directory.","created_at":"2016-08-01T07:57:43Z","updated_at":"2016-08-01T07:57:43Z","html_url":"https://github.com/supasate/yosh/pull/3#discussion_r72936664","pull_request_url":"https://api.github.com/repos/supasate/yosh/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/supasate/yosh/pulls/comments/72936664"},"html":{"href":"https://github.com/supasate/yosh/pull/3#discussion_r72936664"},"pull_request":{"href":"https://api.github.com/repos/supasate/yosh/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/supasate/yosh/pulls/3","id":79449294,"html_url":"https://github.com/supasate/yosh/pull/3","diff_url":"https://github.com/supasate/yosh/pull/3.diff","patch_url":"https://github.com/supasate/yosh/pull/3.patch","issue_url":"https://api.github.com/repos/supasate/yosh/issues/3","number":3,"state":"open","locked":false,"title":"Fixed many problems and added some features","user":{"login":"YuliangTan","id":6512977,"avatar_url":"https://avatars.githubusercontent.com/u/6512977?v=3","gravatar_id":"","url":"https://api.github.com/users/YuliangTan","html_url":"https://github.com/YuliangTan","followers_url":"https://api.github.com/users/YuliangTan/followers","following_url":"https://api.github.com/users/YuliangTan/following{/other_user}","gists_url":"https://api.github.com/users/YuliangTan/gists{/gist_id}","starred_url":"https://api.github.com/users/YuliangTan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuliangTan/subscriptions","organizations_url":"https://api.github.com/users/YuliangTan/orgs","repos_url":"https://api.github.com/users/YuliangTan/repos","events_url":"https://api.github.com/users/YuliangTan/events{/privacy}","received_events_url":"https://api.github.com/users/YuliangTan/received_events","type":"User","site_admin":false},"body":"I rewrote some code and had fixed many problems.","created_at":"2016-07-30T05:56:34Z","updated_at":"2016-08-01T07:57:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b44fab8918b91a2698471aea47253bab6eeeac7e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/supasate/yosh/pulls/3/commits","review_comments_url":"https://api.github.com/repos/supasate/yosh/pulls/3/comments","review_comment_url":"https://api.github.com/repos/supasate/yosh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/supasate/yosh/issues/3/comments","statuses_url":"https://api.github.com/repos/supasate/yosh/statuses/6d66ca2c751102dc0e69bfcbcd7eb9c31a30459f","head":{"label":"YuliangTan:master","ref":"master","sha":"6d66ca2c751102dc0e69bfcbcd7eb9c31a30459f","user":{"login":"YuliangTan","id":6512977,"avatar_url":"https://avatars.githubusercontent.com/u/6512977?v=3","gravatar_id":"","url":"https://api.github.com/users/YuliangTan","html_url":"https://github.com/YuliangTan","followers_url":"https://api.github.com/users/YuliangTan/followers","following_url":"https://api.github.com/users/YuliangTan/following{/other_user}","gists_url":"https://api.github.com/users/YuliangTan/gists{/gist_id}","starred_url":"https://api.github.com/users/YuliangTan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuliangTan/subscriptions","organizations_url":"https://api.github.com/users/YuliangTan/orgs","repos_url":"https://api.github.com/users/YuliangTan/repos","events_url":"https://api.github.com/users/YuliangTan/events{/privacy}","received_events_url":"https://api.github.com/users/YuliangTan/received_events","type":"User","site_admin":false},"repo":{"id":64522576,"name":"yosh","full_name":"YuliangTan/yosh","owner":{"login":"YuliangTan","id":6512977,"avatar_url":"https://avatars.githubusercontent.com/u/6512977?v=3","gravatar_id":"","url":"https://api.github.com/users/YuliangTan","html_url":"https://github.com/YuliangTan","followers_url":"https://api.github.com/users/YuliangTan/followers","following_url":"https://api.github.com/users/YuliangTan/following{/other_user}","gists_url":"https://api.github.com/users/YuliangTan/gists{/gist_id}","starred_url":"https://api.github.com/users/YuliangTan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuliangTan/subscriptions","organizations_url":"https://api.github.com/users/YuliangTan/orgs","repos_url":"https://api.github.com/users/YuliangTan/repos","events_url":"https://api.github.com/users/YuliangTan/events{/privacy}","received_events_url":"https://api.github.com/users/YuliangTan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YuliangTan/yosh","description":"yosh - Your Own Shell in Python","fork":true,"url":"https://api.github.com/repos/YuliangTan/yosh","forks_url":"https://api.github.com/repos/YuliangTan/yosh/forks","keys_url":"https://api.github.com/repos/YuliangTan/yosh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YuliangTan/yosh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YuliangTan/yosh/teams","hooks_url":"https://api.github.com/repos/YuliangTan/yosh/hooks","issue_events_url":"https://api.github.com/repos/YuliangTan/yosh/issues/events{/number}","events_url":"https://api.github.com/repos/YuliangTan/yosh/events","assignees_url":"https://api.github.com/repos/YuliangTan/yosh/assignees{/user}","branches_url":"https://api.github.com/repos/YuliangTan/yosh/branches{/branch}","tags_url":"https://api.github.com/repos/YuliangTan/yosh/tags","blobs_url":"https://api.github.com/repos/YuliangTan/yosh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YuliangTan/yosh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YuliangTan/yosh/git/refs{/sha}","trees_url":"https://api.github.com/repos/YuliangTan/yosh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YuliangTan/yosh/statuses/{sha}","languages_url":"https://api.github.com/repos/YuliangTan/yosh/languages","stargazers_url":"https://api.github.com/repos/YuliangTan/yosh/stargazers","contributors_url":"https://api.github.com/repos/YuliangTan/yosh/contributors","subscribers_url":"https://api.github.com/repos/YuliangTan/yosh/subscribers","subscription_url":"https://api.github.com/repos/YuliangTan/yosh/subscription","commits_url":"https://api.github.com/repos/YuliangTan/yosh/commits{/sha}","git_commits_url":"https://api.github.com/repos/YuliangTan/yosh/git/commits{/sha}","comments_url":"https://api.github.com/repos/YuliangTan/yosh/comments{/number}","issue_comment_url":"https://api.github.com/repos/YuliangTan/yosh/issues/comments{/number}","contents_url":"https://api.github.com/repos/YuliangTan/yosh/contents/{+path}","compare_url":"https://api.github.com/repos/YuliangTan/yosh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YuliangTan/yosh/merges","archive_url":"https://api.github.com/repos/YuliangTan/yosh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YuliangTan/yosh/downloads","issues_url":"https://api.github.com/repos/YuliangTan/yosh/issues{/number}","pulls_url":"https://api.github.com/repos/YuliangTan/yosh/pulls{/number}","milestones_url":"https://api.github.com/repos/YuliangTan/yosh/milestones{/number}","notifications_url":"https://api.github.com/repos/YuliangTan/yosh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YuliangTan/yosh/labels{/name}","releases_url":"https://api.github.com/repos/YuliangTan/yosh/releases{/id}","deployments_url":"https://api.github.com/repos/YuliangTan/yosh/deployments","created_at":"2016-07-30T02:46:54Z","updated_at":"2016-07-30T06:00:25Z","pushed_at":"2016-08-01T05:20:40Z","git_url":"git://github.com/YuliangTan/yosh.git","ssh_url":"git@github.com:YuliangTan/yosh.git","clone_url":"https://github.com/YuliangTan/yosh.git","svn_url":"https://github.com/YuliangTan/yosh","homepage":null,"size":21,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"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":"supasate:master","ref":"master","sha":"1d6b701ea8ee614c12a9edc4afab17a52bca2d39","user":{"login":"supasate","id":237753,"avatar_url":"https://avatars.githubusercontent.com/u/237753?v=3","gravatar_id":"","url":"https://api.github.com/users/supasate","html_url":"https://github.com/supasate","followers_url":"https://api.github.com/users/supasate/followers","following_url":"https://api.github.com/users/supasate/following{/other_user}","gists_url":"https://api.github.com/users/supasate/gists{/gist_id}","starred_url":"https://api.github.com/users/supasate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supasate/subscriptions","organizations_url":"https://api.github.com/users/supasate/orgs","repos_url":"https://api.github.com/users/supasate/repos","events_url":"https://api.github.com/users/supasate/events{/privacy}","received_events_url":"https://api.github.com/users/supasate/received_events","type":"User","site_admin":false},"repo":{"id":62659125,"name":"yosh","full_name":"supasate/yosh","owner":{"login":"supasate","id":237753,"avatar_url":"https://avatars.githubusercontent.com/u/237753?v=3","gravatar_id":"","url":"https://api.github.com/users/supasate","html_url":"https://github.com/supasate","followers_url":"https://api.github.com/users/supasate/followers","following_url":"https://api.github.com/users/supasate/following{/other_user}","gists_url":"https://api.github.com/users/supasate/gists{/gist_id}","starred_url":"https://api.github.com/users/supasate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/supasate/subscriptions","organizations_url":"https://api.github.com/users/supasate/orgs","repos_url":"https://api.github.com/users/supasate/repos","events_url":"https://api.github.com/users/supasate/events{/privacy}","received_events_url":"https://api.github.com/users/supasate/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/supasate/yosh","description":"yosh - Your Own Shell in Python","fork":false,"url":"https://api.github.com/repos/supasate/yosh","forks_url":"https://api.github.com/repos/supasate/yosh/forks","keys_url":"https://api.github.com/repos/supasate/yosh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/supasate/yosh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/supasate/yosh/teams","hooks_url":"https://api.github.com/repos/supasate/yosh/hooks","issue_events_url":"https://api.github.com/repos/supasate/yosh/issues/events{/number}","events_url":"https://api.github.com/repos/supasate/yosh/events","assignees_url":"https://api.github.com/repos/supasate/yosh/assignees{/user}","branches_url":"https://api.github.com/repos/supasate/yosh/branches{/branch}","tags_url":"https://api.github.com/repos/supasate/yosh/tags","blobs_url":"https://api.github.com/repos/supasate/yosh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/supasate/yosh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/supasate/yosh/git/refs{/sha}","trees_url":"https://api.github.com/repos/supasate/yosh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/supasate/yosh/statuses/{sha}","languages_url":"https://api.github.com/repos/supasate/yosh/languages","stargazers_url":"https://api.github.com/repos/supasate/yosh/stargazers","contributors_url":"https://api.github.com/repos/supasate/yosh/contributors","subscribers_url":"https://api.github.com/repos/supasate/yosh/subscribers","subscription_url":"https://api.github.com/repos/supasate/yosh/subscription","commits_url":"https://api.github.com/repos/supasate/yosh/commits{/sha}","git_commits_url":"https://api.github.com/repos/supasate/yosh/git/commits{/sha}","comments_url":"https://api.github.com/repos/supasate/yosh/comments{/number}","issue_comment_url":"https://api.github.com/repos/supasate/yosh/issues/comments{/number}","contents_url":"https://api.github.com/repos/supasate/yosh/contents/{+path}","compare_url":"https://api.github.com/repos/supasate/yosh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/supasate/yosh/merges","archive_url":"https://api.github.com/repos/supasate/yosh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/supasate/yosh/downloads","issues_url":"https://api.github.com/repos/supasate/yosh/issues{/number}","pulls_url":"https://api.github.com/repos/supasate/yosh/pulls{/number}","milestones_url":"https://api.github.com/repos/supasate/yosh/milestones{/number}","notifications_url":"https://api.github.com/repos/supasate/yosh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/supasate/yosh/labels{/name}","releases_url":"https://api.github.com/repos/supasate/yosh/releases{/id}","deployments_url":"https://api.github.com/repos/supasate/yosh/deployments","created_at":"2016-07-05T18:15:03Z","updated_at":"2016-07-31T13:21:32Z","pushed_at":"2016-08-01T05:20:40Z","git_url":"git://github.com/supasate/yosh.git","ssh_url":"git@github.com:supasate/yosh.git","clone_url":"https://github.com/supasate/yosh.git","svn_url":"https://github.com/supasate/yosh","homepage":null,"size":18,"stargazers_count":56,"watchers_count":56,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":1,"forks":9,"open_issues":1,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/supasate/yosh/pulls/3"},"html":{"href":"https://github.com/supasate/yosh/pull/3"},"issue":{"href":"https://api.github.com/repos/supasate/yosh/issues/3"},"comments":{"href":"https://api.github.com/repos/supasate/yosh/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/supasate/yosh/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/supasate/yosh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/supasate/yosh/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/supasate/yosh/statuses/6d66ca2c751102dc0e69bfcbcd7eb9c31a30459f"}}}}
{"actor":{"display_login":"YuliangTan"}}