{"action":"created","comment":{"url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/pulls/comments/30853946","id":30853946,"diff_hunk":"@@ -0,0 +1,13 @@\n+# Setup zsh-autosuggestions\n+source $HOME/.zsh-autosuggestions/autosuggestions.zsh\n+\n+# Enable autosuggestions automatically\n+zle-line-init() {\n+    zle autosuggest-start\n+}\n+\n+zle -N zle-line-init\n+\n+# use ctrl+t to toggle autosuggestions(hopefully this wont be needed as\n+# zsh-autosuggestions is designed to be unobtrusive)\n+bindkey '^T' autosuggest-toggle","path":".zsh-autosuggestionsrc","position":13,"original_position":13,"commit_id":"c54c2415f0925f789f07ea4f193cf2c98a4b2591","original_commit_id":"c54c2415f0925f789f07ea4f193cf2c98a4b2591","user":{"login":"ronjouch","id":522085,"avatar_url":"https://avatars.githubusercontent.com/u/522085?v=3","gravatar_id":"","url":"https://api.github.com/users/ronjouch","html_url":"https://github.com/ronjouch","followers_url":"https://api.github.com/users/ronjouch/followers","following_url":"https://api.github.com/users/ronjouch/following{/other_user}","gists_url":"https://api.github.com/users/ronjouch/gists{/gist_id}","starred_url":"https://api.github.com/users/ronjouch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronjouch/subscriptions","organizations_url":"https://api.github.com/users/ronjouch/orgs","repos_url":"https://api.github.com/users/ronjouch/repos","events_url":"https://api.github.com/users/ronjouch/events{/privacy}","received_events_url":"https://api.github.com/users/ronjouch/received_events","type":"User","site_admin":false},"body":"@baykovr what about commenting this binding by default? It might override a user binding, and it's not actually needed anyway since autosuggestions is \"made to work unobtrusively without it\".","created_at":"2015-05-21T22:19:17Z","updated_at":"2015-05-21T22:19:17Z","html_url":"https://github.com/tarruda/zsh-autosuggestions/pull/56#discussion_r30853946","pull_request_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/pulls/56","_links":{"self":{"href":"https://api.github.com/repos/tarruda/zsh-autosuggestions/pulls/comments/30853946"},"html":{"href":"https://github.com/tarruda/zsh-autosuggestions/pull/56#discussion_r30853946"},"pull_request":{"href":"https://api.github.com/repos/tarruda/zsh-autosuggestions/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/pulls/56","id":35602829,"html_url":"https://github.com/tarruda/zsh-autosuggestions/pull/56","diff_url":"https://github.com/tarruda/zsh-autosuggestions/pull/56.diff","patch_url":"https://github.com/tarruda/zsh-autosuggestions/pull/56.patch","issue_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/issues/56","number":56,"state":"open","locked":false,"title":"Add alternative install/uninstall script.","user":{"login":"baykovr","id":6128886,"avatar_url":"https://avatars.githubusercontent.com/u/6128886?v=3","gravatar_id":"","url":"https://api.github.com/users/baykovr","html_url":"https://github.com/baykovr","followers_url":"https://api.github.com/users/baykovr/followers","following_url":"https://api.github.com/users/baykovr/following{/other_user}","gists_url":"https://api.github.com/users/baykovr/gists{/gist_id}","starred_url":"https://api.github.com/users/baykovr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baykovr/subscriptions","organizations_url":"https://api.github.com/users/baykovr/orgs","repos_url":"https://api.github.com/users/baykovr/repos","events_url":"https://api.github.com/users/baykovr/events{/privacy}","received_events_url":"https://api.github.com/users/baykovr/received_events","type":"User","site_admin":false},"body":"Instead of adding multiple conf lines to .zshrc, provide them in .zsh-autosuggestionsrc and add/remove a one line reference to it in .zshrc using \"source\".\r\n\r\nThis also allows future configuration changes to be made to .zsh-autosugestionsrc under version control, requiring no updates/changes in user .zshrc.\r\n\r\nSummary:\r\n+ Adds alt-installation method.\r\n+ Adds uninstall method ( #54 ).\r\n+ Resolves ( #46 ).\r\n+ Will not double install on multiple invocations like the existing install script.\r\n+ Creates a backup of .zshrc to .zshrc.bak\r\n+ Compatible but untested with $ZDOTDIR\r\n\r\nCaveats\r\n+ Requires repository be located in $HOME/.zsh-autosuggestions (as with existing install method)","created_at":"2015-05-18T05:00:23Z","updated_at":"2015-05-21T22:19:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"05322d9bea76f809453cf5fe809d393a153ee1a3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/pulls/56/commits","review_comments_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/pulls/56/comments","review_comment_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/issues/56/comments","statuses_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/statuses/c54c2415f0925f789f07ea4f193cf2c98a4b2591","head":{"label":"baykovr:master","ref":"master","sha":"c54c2415f0925f789f07ea4f193cf2c98a4b2591","user":{"login":"baykovr","id":6128886,"avatar_url":"https://avatars.githubusercontent.com/u/6128886?v=3","gravatar_id":"","url":"https://api.github.com/users/baykovr","html_url":"https://github.com/baykovr","followers_url":"https://api.github.com/users/baykovr/followers","following_url":"https://api.github.com/users/baykovr/following{/other_user}","gists_url":"https://api.github.com/users/baykovr/gists{/gist_id}","starred_url":"https://api.github.com/users/baykovr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baykovr/subscriptions","organizations_url":"https://api.github.com/users/baykovr/orgs","repos_url":"https://api.github.com/users/baykovr/repos","events_url":"https://api.github.com/users/baykovr/events{/privacy}","received_events_url":"https://api.github.com/users/baykovr/received_events","type":"User","site_admin":false},"repo":{"id":35781580,"name":"zsh-autosuggestions","full_name":"baykovr/zsh-autosuggestions","owner":{"login":"baykovr","id":6128886,"avatar_url":"https://avatars.githubusercontent.com/u/6128886?v=3","gravatar_id":"","url":"https://api.github.com/users/baykovr","html_url":"https://github.com/baykovr","followers_url":"https://api.github.com/users/baykovr/followers","following_url":"https://api.github.com/users/baykovr/following{/other_user}","gists_url":"https://api.github.com/users/baykovr/gists{/gist_id}","starred_url":"https://api.github.com/users/baykovr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baykovr/subscriptions","organizations_url":"https://api.github.com/users/baykovr/orgs","repos_url":"https://api.github.com/users/baykovr/repos","events_url":"https://api.github.com/users/baykovr/events{/privacy}","received_events_url":"https://api.github.com/users/baykovr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/baykovr/zsh-autosuggestions","description":"Fish-like autosuggestions for zsh","fork":true,"url":"https://api.github.com/repos/baykovr/zsh-autosuggestions","forks_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/forks","keys_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/teams","hooks_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/hooks","issue_events_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/issues/events{/number}","events_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/events","assignees_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/assignees{/user}","branches_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/branches{/branch}","tags_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/tags","blobs_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/git/refs{/sha}","trees_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/statuses/{sha}","languages_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/languages","stargazers_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/stargazers","contributors_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/contributors","subscribers_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/subscribers","subscription_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/subscription","commits_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/commits{/sha}","git_commits_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/git/commits{/sha}","comments_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/comments{/number}","issue_comment_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/issues/comments{/number}","contents_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/contents/{+path}","compare_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/merges","archive_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/downloads","issues_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/issues{/number}","pulls_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/pulls{/number}","milestones_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/milestones{/number}","notifications_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/labels{/name}","releases_url":"https://api.github.com/repos/baykovr/zsh-autosuggestions/releases{/id}","created_at":"2015-05-17T20:25:11Z","updated_at":"2015-05-17T20:25:11Z","pushed_at":"2015-05-18T04:36:09Z","git_url":"git://github.com/baykovr/zsh-autosuggestions.git","ssh_url":"git@github.com:baykovr/zsh-autosuggestions.git","clone_url":"https://github.com/baykovr/zsh-autosuggestions.git","svn_url":"https://github.com/baykovr/zsh-autosuggestions","homepage":null,"size":103,"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":"tarruda:master","ref":"master","sha":"0371904875b5514372cd540ed488cef1daec5f67","user":{"login":"tarruda","id":842846,"avatar_url":"https://avatars.githubusercontent.com/u/842846?v=3","gravatar_id":"","url":"https://api.github.com/users/tarruda","html_url":"https://github.com/tarruda","followers_url":"https://api.github.com/users/tarruda/followers","following_url":"https://api.github.com/users/tarruda/following{/other_user}","gists_url":"https://api.github.com/users/tarruda/gists{/gist_id}","starred_url":"https://api.github.com/users/tarruda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarruda/subscriptions","organizations_url":"https://api.github.com/users/tarruda/orgs","repos_url":"https://api.github.com/users/tarruda/repos","events_url":"https://api.github.com/users/tarruda/events{/privacy}","received_events_url":"https://api.github.com/users/tarruda/received_events","type":"User","site_admin":false},"repo":{"id":13886476,"name":"zsh-autosuggestions","full_name":"tarruda/zsh-autosuggestions","owner":{"login":"tarruda","id":842846,"avatar_url":"https://avatars.githubusercontent.com/u/842846?v=3","gravatar_id":"","url":"https://api.github.com/users/tarruda","html_url":"https://github.com/tarruda","followers_url":"https://api.github.com/users/tarruda/followers","following_url":"https://api.github.com/users/tarruda/following{/other_user}","gists_url":"https://api.github.com/users/tarruda/gists{/gist_id}","starred_url":"https://api.github.com/users/tarruda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarruda/subscriptions","organizations_url":"https://api.github.com/users/tarruda/orgs","repos_url":"https://api.github.com/users/tarruda/repos","events_url":"https://api.github.com/users/tarruda/events{/privacy}","received_events_url":"https://api.github.com/users/tarruda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tarruda/zsh-autosuggestions","description":"Fish-like autosuggestions for zsh","fork":false,"url":"https://api.github.com/repos/tarruda/zsh-autosuggestions","forks_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/forks","keys_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/teams","hooks_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/hooks","issue_events_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/issues/events{/number}","events_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/events","assignees_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/assignees{/user}","branches_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/branches{/branch}","tags_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/tags","blobs_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/git/refs{/sha}","trees_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/statuses/{sha}","languages_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/languages","stargazers_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/stargazers","contributors_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/contributors","subscribers_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/subscribers","subscription_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/subscription","commits_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/commits{/sha}","git_commits_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/git/commits{/sha}","comments_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/comments{/number}","issue_comment_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/issues/comments{/number}","contents_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/contents/{+path}","compare_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/merges","archive_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/downloads","issues_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/issues{/number}","pulls_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/pulls{/number}","milestones_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/milestones{/number}","notifications_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/labels{/name}","releases_url":"https://api.github.com/repos/tarruda/zsh-autosuggestions/releases{/id}","created_at":"2013-10-26T16:09:37Z","updated_at":"2015-05-21T21:57:21Z","pushed_at":"2015-05-21T21:37:48Z","git_url":"git://github.com/tarruda/zsh-autosuggestions.git","ssh_url":"git@github.com:tarruda/zsh-autosuggestions.git","clone_url":"https://github.com/tarruda/zsh-autosuggestions.git","svn_url":"https://github.com/tarruda/zsh-autosuggestions","homepage":null,"size":512,"stargazers_count":355,"watchers_count":355,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":18,"forks":32,"open_issues":18,"watchers":355,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tarruda/zsh-autosuggestions/pulls/56"},"html":{"href":"https://github.com/tarruda/zsh-autosuggestions/pull/56"},"issue":{"href":"https://api.github.com/repos/tarruda/zsh-autosuggestions/issues/56"},"comments":{"href":"https://api.github.com/repos/tarruda/zsh-autosuggestions/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/tarruda/zsh-autosuggestions/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/tarruda/zsh-autosuggestions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tarruda/zsh-autosuggestions/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/tarruda/zsh-autosuggestions/statuses/c54c2415f0925f789f07ea4f193cf2c98a4b2591"}}}}