{"action":"closed","number":2408,"pull_request":{"url":"https://api.github.com/repos/xonsh/xonsh/pulls/2408","id":126173892,"html_url":"https://github.com/xonsh/xonsh/pull/2408","diff_url":"https://github.com/xonsh/xonsh/pull/2408.diff","patch_url":"https://github.com/xonsh/xonsh/pull/2408.patch","issue_url":"https://api.github.com/repos/xonsh/xonsh/issues/2408","number":2408,"state":"closed","locked":false,"title":"Implement an alias alias, matching what sh's alias does.","user":{"login":"nathan-hoad","id":332492,"avatar_url":"https://avatars0.githubusercontent.com/u/332492?v=3","gravatar_id":"","url":"https://api.github.com/users/nathan-hoad","html_url":"https://github.com/nathan-hoad","followers_url":"https://api.github.com/users/nathan-hoad/followers","following_url":"https://api.github.com/users/nathan-hoad/following{/other_user}","gists_url":"https://api.github.com/users/nathan-hoad/gists{/gist_id}","starred_url":"https://api.github.com/users/nathan-hoad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathan-hoad/subscriptions","organizations_url":"https://api.github.com/users/nathan-hoad/orgs","repos_url":"https://api.github.com/users/nathan-hoad/repos","events_url":"https://api.github.com/users/nathan-hoad/events{/privacy}","received_events_url":"https://api.github.com/users/nathan-hoad/received_events","type":"User","site_admin":false},"body":"I thought this might be useful for others as a means to minimise typing, e.g. `alias foo=\"echo hey\"` instead of `aliases['foo'] = ['echo', 'hey']`. I find myself creating aliases a lot, so this is something I find pretty useful.","created_at":"2017-06-18T01:50:45Z","updated_at":"2017-07-09T19:50:32Z","closed_at":"2017-07-09T19:50:31Z","merged_at":"2017-07-09T19:50:31Z","merge_commit_sha":"cee3a7165073f38eb433154c4d09d01cd5cba108","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/xonsh/xonsh/pulls/2408/commits","review_comments_url":"https://api.github.com/repos/xonsh/xonsh/pulls/2408/comments","review_comment_url":"https://api.github.com/repos/xonsh/xonsh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xonsh/xonsh/issues/2408/comments","statuses_url":"https://api.github.com/repos/xonsh/xonsh/statuses/b05a5d4bf5dab402e1eb6547c98d839afb65bf1c","head":{"label":"nathan-hoad:alias-command","ref":"alias-command","sha":"b05a5d4bf5dab402e1eb6547c98d839afb65bf1c","user":{"login":"nathan-hoad","id":332492,"avatar_url":"https://avatars0.githubusercontent.com/u/332492?v=3","gravatar_id":"","url":"https://api.github.com/users/nathan-hoad","html_url":"https://github.com/nathan-hoad","followers_url":"https://api.github.com/users/nathan-hoad/followers","following_url":"https://api.github.com/users/nathan-hoad/following{/other_user}","gists_url":"https://api.github.com/users/nathan-hoad/gists{/gist_id}","starred_url":"https://api.github.com/users/nathan-hoad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathan-hoad/subscriptions","organizations_url":"https://api.github.com/users/nathan-hoad/orgs","repos_url":"https://api.github.com/users/nathan-hoad/repos","events_url":"https://api.github.com/users/nathan-hoad/events{/privacy}","received_events_url":"https://api.github.com/users/nathan-hoad/received_events","type":"User","site_admin":false},"repo":{"id":88721727,"name":"xonsh","full_name":"nathan-hoad/xonsh","owner":{"login":"nathan-hoad","id":332492,"avatar_url":"https://avatars0.githubusercontent.com/u/332492?v=3","gravatar_id":"","url":"https://api.github.com/users/nathan-hoad","html_url":"https://github.com/nathan-hoad","followers_url":"https://api.github.com/users/nathan-hoad/followers","following_url":"https://api.github.com/users/nathan-hoad/following{/other_user}","gists_url":"https://api.github.com/users/nathan-hoad/gists{/gist_id}","starred_url":"https://api.github.com/users/nathan-hoad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathan-hoad/subscriptions","organizations_url":"https://api.github.com/users/nathan-hoad/orgs","repos_url":"https://api.github.com/users/nathan-hoad/repos","events_url":"https://api.github.com/users/nathan-hoad/events{/privacy}","received_events_url":"https://api.github.com/users/nathan-hoad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nathan-hoad/xonsh","description":"Python-powered, cross-platform, Unix-gazing shell","fork":true,"url":"https://api.github.com/repos/nathan-hoad/xonsh","forks_url":"https://api.github.com/repos/nathan-hoad/xonsh/forks","keys_url":"https://api.github.com/repos/nathan-hoad/xonsh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nathan-hoad/xonsh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nathan-hoad/xonsh/teams","hooks_url":"https://api.github.com/repos/nathan-hoad/xonsh/hooks","issue_events_url":"https://api.github.com/repos/nathan-hoad/xonsh/issues/events{/number}","events_url":"https://api.github.com/repos/nathan-hoad/xonsh/events","assignees_url":"https://api.github.com/repos/nathan-hoad/xonsh/assignees{/user}","branches_url":"https://api.github.com/repos/nathan-hoad/xonsh/branches{/branch}","tags_url":"https://api.github.com/repos/nathan-hoad/xonsh/tags","blobs_url":"https://api.github.com/repos/nathan-hoad/xonsh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nathan-hoad/xonsh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nathan-hoad/xonsh/git/refs{/sha}","trees_url":"https://api.github.com/repos/nathan-hoad/xonsh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nathan-hoad/xonsh/statuses/{sha}","languages_url":"https://api.github.com/repos/nathan-hoad/xonsh/languages","stargazers_url":"https://api.github.com/repos/nathan-hoad/xonsh/stargazers","contributors_url":"https://api.github.com/repos/nathan-hoad/xonsh/contributors","subscribers_url":"https://api.github.com/repos/nathan-hoad/xonsh/subscribers","subscription_url":"https://api.github.com/repos/nathan-hoad/xonsh/subscription","commits_url":"https://api.github.com/repos/nathan-hoad/xonsh/commits{/sha}","git_commits_url":"https://api.github.com/repos/nathan-hoad/xonsh/git/commits{/sha}","comments_url":"https://api.github.com/repos/nathan-hoad/xonsh/comments{/number}","issue_comment_url":"https://api.github.com/repos/nathan-hoad/xonsh/issues/comments{/number}","contents_url":"https://api.github.com/repos/nathan-hoad/xonsh/contents/{+path}","compare_url":"https://api.github.com/repos/nathan-hoad/xonsh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nathan-hoad/xonsh/merges","archive_url":"https://api.github.com/repos/nathan-hoad/xonsh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nathan-hoad/xonsh/downloads","issues_url":"https://api.github.com/repos/nathan-hoad/xonsh/issues{/number}","pulls_url":"https://api.github.com/repos/nathan-hoad/xonsh/pulls{/number}","milestones_url":"https://api.github.com/repos/nathan-hoad/xonsh/milestones{/number}","notifications_url":"https://api.github.com/repos/nathan-hoad/xonsh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nathan-hoad/xonsh/labels{/name}","releases_url":"https://api.github.com/repos/nathan-hoad/xonsh/releases{/id}","deployments_url":"https://api.github.com/repos/nathan-hoad/xonsh/deployments","created_at":"2017-04-19T08:41:18Z","updated_at":"2017-04-19T08:41:21Z","pushed_at":"2017-07-08T07:00:38Z","git_url":"git://github.com/nathan-hoad/xonsh.git","ssh_url":"git@github.com:nathan-hoad/xonsh.git","clone_url":"https://github.com/nathan-hoad/xonsh.git","svn_url":"https://github.com/nathan-hoad/xonsh","homepage":"http://xon.sh","size":9830,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":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":"xonsh:master","ref":"master","sha":"afa9f2f6ebfc3346c1ebbaee47a86092e04cf1a6","user":{"login":"xonsh","id":17418188,"avatar_url":"https://avatars3.githubusercontent.com/u/17418188?v=3","gravatar_id":"","url":"https://api.github.com/users/xonsh","html_url":"https://github.com/xonsh","followers_url":"https://api.github.com/users/xonsh/followers","following_url":"https://api.github.com/users/xonsh/following{/other_user}","gists_url":"https://api.github.com/users/xonsh/gists{/gist_id}","starred_url":"https://api.github.com/users/xonsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xonsh/subscriptions","organizations_url":"https://api.github.com/users/xonsh/orgs","repos_url":"https://api.github.com/users/xonsh/repos","events_url":"https://api.github.com/users/xonsh/events{/privacy}","received_events_url":"https://api.github.com/users/xonsh/received_events","type":"Organization","site_admin":false},"repo":{"id":29620400,"name":"xonsh","full_name":"xonsh/xonsh","owner":{"login":"xonsh","id":17418188,"avatar_url":"https://avatars3.githubusercontent.com/u/17418188?v=3","gravatar_id":"","url":"https://api.github.com/users/xonsh","html_url":"https://github.com/xonsh","followers_url":"https://api.github.com/users/xonsh/followers","following_url":"https://api.github.com/users/xonsh/following{/other_user}","gists_url":"https://api.github.com/users/xonsh/gists{/gist_id}","starred_url":"https://api.github.com/users/xonsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xonsh/subscriptions","organizations_url":"https://api.github.com/users/xonsh/orgs","repos_url":"https://api.github.com/users/xonsh/repos","events_url":"https://api.github.com/users/xonsh/events{/privacy}","received_events_url":"https://api.github.com/users/xonsh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xonsh/xonsh","description":"Python-powered, cross-platform, Unix-gazing shell","fork":false,"url":"https://api.github.com/repos/xonsh/xonsh","forks_url":"https://api.github.com/repos/xonsh/xonsh/forks","keys_url":"https://api.github.com/repos/xonsh/xonsh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xonsh/xonsh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xonsh/xonsh/teams","hooks_url":"https://api.github.com/repos/xonsh/xonsh/hooks","issue_events_url":"https://api.github.com/repos/xonsh/xonsh/issues/events{/number}","events_url":"https://api.github.com/repos/xonsh/xonsh/events","assignees_url":"https://api.github.com/repos/xonsh/xonsh/assignees{/user}","branches_url":"https://api.github.com/repos/xonsh/xonsh/branches{/branch}","tags_url":"https://api.github.com/repos/xonsh/xonsh/tags","blobs_url":"https://api.github.com/repos/xonsh/xonsh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xonsh/xonsh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xonsh/xonsh/git/refs{/sha}","trees_url":"https://api.github.com/repos/xonsh/xonsh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xonsh/xonsh/statuses/{sha}","languages_url":"https://api.github.com/repos/xonsh/xonsh/languages","stargazers_url":"https://api.github.com/repos/xonsh/xonsh/stargazers","contributors_url":"https://api.github.com/repos/xonsh/xonsh/contributors","subscribers_url":"https://api.github.com/repos/xonsh/xonsh/subscribers","subscription_url":"https://api.github.com/repos/xonsh/xonsh/subscription","commits_url":"https://api.github.com/repos/xonsh/xonsh/commits{/sha}","git_commits_url":"https://api.github.com/repos/xonsh/xonsh/git/commits{/sha}","comments_url":"https://api.github.com/repos/xonsh/xonsh/comments{/number}","issue_comment_url":"https://api.github.com/repos/xonsh/xonsh/issues/comments{/number}","contents_url":"https://api.github.com/repos/xonsh/xonsh/contents/{+path}","compare_url":"https://api.github.com/repos/xonsh/xonsh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xonsh/xonsh/merges","archive_url":"https://api.github.com/repos/xonsh/xonsh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xonsh/xonsh/downloads","issues_url":"https://api.github.com/repos/xonsh/xonsh/issues{/number}","pulls_url":"https://api.github.com/repos/xonsh/xonsh/pulls{/number}","milestones_url":"https://api.github.com/repos/xonsh/xonsh/milestones{/number}","notifications_url":"https://api.github.com/repos/xonsh/xonsh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xonsh/xonsh/labels{/name}","releases_url":"https://api.github.com/repos/xonsh/xonsh/releases{/id}","deployments_url":"https://api.github.com/repos/xonsh/xonsh/deployments","created_at":"2015-01-21T22:05:27Z","updated_at":"2017-07-09T10:09:27Z","pushed_at":"2017-07-09T19:50:31Z","git_url":"git://github.com/xonsh/xonsh.git","ssh_url":"git@github.com:xonsh/xonsh.git","clone_url":"https://github.com/xonsh/xonsh.git","svn_url":"https://github.com/xonsh/xonsh","homepage":"http://xon.sh","size":9838,"stargazers_count":2039,"watchers_count":2039,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":235,"mirror_url":null,"open_issues_count":213,"forks":235,"open_issues":213,"watchers":2039,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xonsh/xonsh/pulls/2408"},"html":{"href":"https://github.com/xonsh/xonsh/pull/2408"},"issue":{"href":"https://api.github.com/repos/xonsh/xonsh/issues/2408"},"comments":{"href":"https://api.github.com/repos/xonsh/xonsh/issues/2408/comments"},"review_comments":{"href":"https://api.github.com/repos/xonsh/xonsh/pulls/2408/comments"},"review_comment":{"href":"https://api.github.com/repos/xonsh/xonsh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xonsh/xonsh/pulls/2408/commits"},"statuses":{"href":"https://api.github.com/repos/xonsh/xonsh/statuses/b05a5d4bf5dab402e1eb6547c98d839afb65bf1c"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"gforsyth","id":3596999,"avatar_url":"https://avatars3.githubusercontent.com/u/3596999?v=3","gravatar_id":"","url":"https://api.github.com/users/gforsyth","html_url":"https://github.com/gforsyth","followers_url":"https://api.github.com/users/gforsyth/followers","following_url":"https://api.github.com/users/gforsyth/following{/other_user}","gists_url":"https://api.github.com/users/gforsyth/gists{/gist_id}","starred_url":"https://api.github.com/users/gforsyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gforsyth/subscriptions","organizations_url":"https://api.github.com/users/gforsyth/orgs","repos_url":"https://api.github.com/users/gforsyth/repos","events_url":"https://api.github.com/users/gforsyth/events{/privacy}","received_events_url":"https://api.github.com/users/gforsyth/received_events","type":"User","site_admin":false},"comments":7,"review_comments":2,"maintainer_can_modify":false,"commits":1,"additions":43,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"gforsyth"}}