{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/psprint/zsh-navigation-tools/pulls/2","id":46352787,"html_url":"https://github.com/psprint/zsh-navigation-tools/pull/2","diff_url":"https://github.com/psprint/zsh-navigation-tools/pull/2.diff","patch_url":"https://github.com/psprint/zsh-navigation-tools/pull/2.patch","issue_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/issues/2","number":2,"state":"open","locked":false,"title":"Oh My Zsh plugin generation","user":{"login":"apjanke","id":2618447,"avatar_url":"https://avatars.githubusercontent.com/u/2618447?v=3","gravatar_id":"","url":"https://api.github.com/users/apjanke","html_url":"https://github.com/apjanke","followers_url":"https://api.github.com/users/apjanke/followers","following_url":"https://api.github.com/users/apjanke/following{/other_user}","gists_url":"https://api.github.com/users/apjanke/gists{/gist_id}","starred_url":"https://api.github.com/users/apjanke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apjanke/subscriptions","organizations_url":"https://api.github.com/users/apjanke/orgs","repos_url":"https://api.github.com/users/apjanke/repos","events_url":"https://api.github.com/users/apjanke/events{/privacy}","received_events_url":"https://api.github.com/users/apjanke/received_events","type":"User","site_admin":false},"body":"This PR revises the `generate_plugin` script to programmatically generate a full Oh My Zsh plugin, including documentation and example config files, and not just the main `.plugin.zsh` file.\r\n\r\n###   Changes    ###\r\n\r\n* Generate a full Oh My Zsh style plugin directory structure\r\n* Adjust formatting on functions in single-file plugin form:\r\n * Strip autoload-specific preamble comments from functions\r\n  * Rearrange comments so all n-* functions begin with the preamble\r\n * Strip vim modelines from functions\r\n * Indent function bodies\r\n* Automatically generate the plugin README from the main README, and add some plugin-specific material\r\n* Add a modeline to znt-history-widget so all zsh function files have the same last two lines\r\n* Build the plugin in build/, which is added to .gitignore so it won't be checked in\r\n\r\nMiscellaneous spelling and formatting fixes.\r\nTweak installation instructions in README to discuss `$fpath`.","created_at":"2015-09-30T01:35:43Z","updated_at":"2015-09-30T01:35:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/pulls/2/commits","review_comments_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/pulls/2/comments","review_comment_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/issues/2/comments","statuses_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/statuses/1989159be47184edffcf7779b1627714a33c3fbb","head":{"label":"apjanke:omz-plugin-generation","ref":"omz-plugin-generation","sha":"1989159be47184edffcf7779b1627714a33c3fbb","user":{"login":"apjanke","id":2618447,"avatar_url":"https://avatars.githubusercontent.com/u/2618447?v=3","gravatar_id":"","url":"https://api.github.com/users/apjanke","html_url":"https://github.com/apjanke","followers_url":"https://api.github.com/users/apjanke/followers","following_url":"https://api.github.com/users/apjanke/following{/other_user}","gists_url":"https://api.github.com/users/apjanke/gists{/gist_id}","starred_url":"https://api.github.com/users/apjanke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apjanke/subscriptions","organizations_url":"https://api.github.com/users/apjanke/orgs","repos_url":"https://api.github.com/users/apjanke/repos","events_url":"https://api.github.com/users/apjanke/events{/privacy}","received_events_url":"https://api.github.com/users/apjanke/received_events","type":"User","site_admin":false},"repo":{"id":43397305,"name":"zsh-navigation-tools","full_name":"apjanke/zsh-navigation-tools","owner":{"login":"apjanke","id":2618447,"avatar_url":"https://avatars.githubusercontent.com/u/2618447?v=3","gravatar_id":"","url":"https://api.github.com/users/apjanke","html_url":"https://github.com/apjanke","followers_url":"https://api.github.com/users/apjanke/followers","following_url":"https://api.github.com/users/apjanke/following{/other_user}","gists_url":"https://api.github.com/users/apjanke/gists{/gist_id}","starred_url":"https://api.github.com/users/apjanke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apjanke/subscriptions","organizations_url":"https://api.github.com/users/apjanke/orgs","repos_url":"https://api.github.com/users/apjanke/repos","events_url":"https://api.github.com/users/apjanke/events{/privacy}","received_events_url":"https://api.github.com/users/apjanke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/apjanke/zsh-navigation-tools","description":"Curses-based tools for ZSH","fork":true,"url":"https://api.github.com/repos/apjanke/zsh-navigation-tools","forks_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/forks","keys_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/teams","hooks_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/hooks","issue_events_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/issues/events{/number}","events_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/events","assignees_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/assignees{/user}","branches_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/branches{/branch}","tags_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/tags","blobs_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/languages","stargazers_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/stargazers","contributors_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/contributors","subscribers_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/subscribers","subscription_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/subscription","commits_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/contents/{+path}","compare_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/merges","archive_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/downloads","issues_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/issues{/number}","pulls_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/labels{/name}","releases_url":"https://api.github.com/repos/apjanke/zsh-navigation-tools/releases{/id}","created_at":"2015-09-29T22:07:50Z","updated_at":"2015-09-29T22:07:51Z","pushed_at":"2015-09-30T01:31:53Z","git_url":"git://github.com/apjanke/zsh-navigation-tools.git","ssh_url":"git@github.com:apjanke/zsh-navigation-tools.git","clone_url":"https://github.com/apjanke/zsh-navigation-tools.git","svn_url":"https://github.com/apjanke/zsh-navigation-tools","homepage":"","size":809,"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":"psprint:master","ref":"master","sha":"6c2f60460d4b3f6093a988787566723ebf84603c","user":{"login":"psprint","id":6049288,"avatar_url":"https://avatars.githubusercontent.com/u/6049288?v=3","gravatar_id":"","url":"https://api.github.com/users/psprint","html_url":"https://github.com/psprint","followers_url":"https://api.github.com/users/psprint/followers","following_url":"https://api.github.com/users/psprint/following{/other_user}","gists_url":"https://api.github.com/users/psprint/gists{/gist_id}","starred_url":"https://api.github.com/users/psprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psprint/subscriptions","organizations_url":"https://api.github.com/users/psprint/orgs","repos_url":"https://api.github.com/users/psprint/repos","events_url":"https://api.github.com/users/psprint/events{/privacy}","received_events_url":"https://api.github.com/users/psprint/received_events","type":"User","site_admin":false},"repo":{"id":40308007,"name":"zsh-navigation-tools","full_name":"psprint/zsh-navigation-tools","owner":{"login":"psprint","id":6049288,"avatar_url":"https://avatars.githubusercontent.com/u/6049288?v=3","gravatar_id":"","url":"https://api.github.com/users/psprint","html_url":"https://github.com/psprint","followers_url":"https://api.github.com/users/psprint/followers","following_url":"https://api.github.com/users/psprint/following{/other_user}","gists_url":"https://api.github.com/users/psprint/gists{/gist_id}","starred_url":"https://api.github.com/users/psprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psprint/subscriptions","organizations_url":"https://api.github.com/users/psprint/orgs","repos_url":"https://api.github.com/users/psprint/repos","events_url":"https://api.github.com/users/psprint/events{/privacy}","received_events_url":"https://api.github.com/users/psprint/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/psprint/zsh-navigation-tools","description":"Curses-based tools for ZSH","fork":false,"url":"https://api.github.com/repos/psprint/zsh-navigation-tools","forks_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/forks","keys_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/teams","hooks_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/hooks","issue_events_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/issues/events{/number}","events_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/events","assignees_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/assignees{/user}","branches_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/branches{/branch}","tags_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/tags","blobs_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/languages","stargazers_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/stargazers","contributors_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/contributors","subscribers_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/subscribers","subscription_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/subscription","commits_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/contents/{+path}","compare_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/merges","archive_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/downloads","issues_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/issues{/number}","pulls_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/labels{/name}","releases_url":"https://api.github.com/repos/psprint/zsh-navigation-tools/releases{/id}","created_at":"2015-08-06T14:04:26Z","updated_at":"2015-09-26T14:41:12Z","pushed_at":"2015-09-30T01:12:41Z","git_url":"git://github.com/psprint/zsh-navigation-tools.git","ssh_url":"git@github.com:psprint/zsh-navigation-tools.git","clone_url":"https://github.com/psprint/zsh-navigation-tools.git","svn_url":"https://github.com/psprint/zsh-navigation-tools","homepage":"","size":809,"stargazers_count":16,"watchers_count":16,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/psprint/zsh-navigation-tools/pulls/2"},"html":{"href":"https://github.com/psprint/zsh-navigation-tools/pull/2"},"issue":{"href":"https://api.github.com/repos/psprint/zsh-navigation-tools/issues/2"},"comments":{"href":"https://api.github.com/repos/psprint/zsh-navigation-tools/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/psprint/zsh-navigation-tools/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/psprint/zsh-navigation-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/psprint/zsh-navigation-tools/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/psprint/zsh-navigation-tools/statuses/1989159be47184edffcf7779b1627714a33c3fbb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":136,"deletions":57,"changed_files":9}}