{"action":"created","comment":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/comments/23077808","id":23077808,"diff_hunk":"@@ -1,3 +1,4 @@\n # The addition 'nvm install' attempts in ~/.profile\n \n [[ -s ~/.nvm/nvm.sh ]] && . ~/.nvm/nvm.sh\n+[[ -r $NVM_DIR/bash_completion ]] && . $NVM_DIR/bash_completion","path":"plugins/nvm/nvm.plugin.zsh","position":4,"original_position":4,"commit_id":"92c8919a383bfdc9cb4ba51a0dbe37e2633d145e","original_commit_id":"92c8919a383bfdc9cb4ba51a0dbe37e2633d145e","user":{"login":"isquariel","id":529247,"avatar_url":"https://avatars.githubusercontent.com/u/529247?v=3","gravatar_id":"","url":"https://api.github.com/users/isquariel","html_url":"https://github.com/isquariel","followers_url":"https://api.github.com/users/isquariel/followers","following_url":"https://api.github.com/users/isquariel/following{/other_user}","gists_url":"https://api.github.com/users/isquariel/gists{/gist_id}","starred_url":"https://api.github.com/users/isquariel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isquariel/subscriptions","organizations_url":"https://api.github.com/users/isquariel/orgs","repos_url":"https://api.github.com/users/isquariel/repos","events_url":"https://api.github.com/users/isquariel/events{/privacy}","received_events_url":"https://api.github.com/users/isquariel/received_events","type":"User","site_admin":false},"body":"I use only `git`, `nvm` and `ssh-agent` plugins (and don’t use [`compleat`](https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/compleat/compleat.plugin.zsh) plugin). And nvm autocomplete works for me.\r\n\r\nzsh 5.0.2 (x86_64-apple-darwin13.0), latest oh-my-zsh\r\n\r\nBut I’m not sure about no-apple zsh. How to check the plugin?","created_at":"2015-01-16T12:37:17Z","updated_at":"2015-01-16T12:37:17Z","html_url":"https://github.com/robbyrussell/oh-my-zsh/pull/2312#discussion_r23077808","pull_request_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/2312","_links":{"self":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/comments/23077808"},"html":{"href":"https://github.com/robbyrussell/oh-my-zsh/pull/2312#discussion_r23077808"},"pull_request":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/2312"}}},"pull_request":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/2312","id":10522687,"html_url":"https://github.com/robbyrussell/oh-my-zsh/pull/2312","diff_url":"https://github.com/robbyrussell/oh-my-zsh/pull/2312.diff","patch_url":"https://github.com/robbyrussell/oh-my-zsh/pull/2312.patch","issue_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/2312","number":2312,"state":"open","locked":false,"title":"Changed determination nvm in system","user":{"login":"isquariel","id":529247,"avatar_url":"https://avatars.githubusercontent.com/u/529247?v=3","gravatar_id":"","url":"https://api.github.com/users/isquariel","html_url":"https://github.com/isquariel","followers_url":"https://api.github.com/users/isquariel/followers","following_url":"https://api.github.com/users/isquariel/following{/other_user}","gists_url":"https://api.github.com/users/isquariel/gists{/gist_id}","starred_url":"https://api.github.com/users/isquariel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isquariel/subscriptions","organizations_url":"https://api.github.com/users/isquariel/orgs","repos_url":"https://api.github.com/users/isquariel/repos","events_url":"https://api.github.com/users/isquariel/events{/privacy}","received_events_url":"https://api.github.com/users/isquariel/received_events","type":"User","site_admin":false},"body":"As noted by @deepsweet in #2236, check if `~/.nvm/nvm.sh` exists is not the best way to determine is there an `nvm` command or not.\r\n\r\nI replaced it with `command -v`.","created_at":"2013-12-04T17:47:32Z","updated_at":"2015-01-16T12:37:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2605e7f40853aa8894a84828a7710f532b0e0634","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/2312/commits","review_comments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/2312/comments","review_comment_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/comments/{number}","comments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/2312/comments","statuses_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/statuses/92c8919a383bfdc9cb4ba51a0dbe37e2633d145e","head":{"label":"isquariel:is-nvm-in-system","ref":"is-nvm-in-system","sha":"92c8919a383bfdc9cb4ba51a0dbe37e2633d145e","user":{"login":"isquariel","id":529247,"avatar_url":"https://avatars.githubusercontent.com/u/529247?v=3","gravatar_id":"","url":"https://api.github.com/users/isquariel","html_url":"https://github.com/isquariel","followers_url":"https://api.github.com/users/isquariel/followers","following_url":"https://api.github.com/users/isquariel/following{/other_user}","gists_url":"https://api.github.com/users/isquariel/gists{/gist_id}","starred_url":"https://api.github.com/users/isquariel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isquariel/subscriptions","organizations_url":"https://api.github.com/users/isquariel/orgs","repos_url":"https://api.github.com/users/isquariel/repos","events_url":"https://api.github.com/users/isquariel/events{/privacy}","received_events_url":"https://api.github.com/users/isquariel/received_events","type":"User","site_admin":false},"repo":{"id":14242240,"name":"oh-my-zsh","full_name":"isquariel/oh-my-zsh","owner":{"login":"isquariel","id":529247,"avatar_url":"https://avatars.githubusercontent.com/u/529247?v=3","gravatar_id":"","url":"https://api.github.com/users/isquariel","html_url":"https://github.com/isquariel","followers_url":"https://api.github.com/users/isquariel/followers","following_url":"https://api.github.com/users/isquariel/following{/other_user}","gists_url":"https://api.github.com/users/isquariel/gists{/gist_id}","starred_url":"https://api.github.com/users/isquariel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isquariel/subscriptions","organizations_url":"https://api.github.com/users/isquariel/orgs","repos_url":"https://api.github.com/users/isquariel/repos","events_url":"https://api.github.com/users/isquariel/events{/privacy}","received_events_url":"https://api.github.com/users/isquariel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/isquariel/oh-my-zsh","description":"A community-driven framework for managing your zsh configuration. Includes 120+ optional plugins (rails, git, OSX, hub, capistrano, brew, ant, macports, etc), over 120 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.","fork":true,"url":"https://api.github.com/repos/isquariel/oh-my-zsh","forks_url":"https://api.github.com/repos/isquariel/oh-my-zsh/forks","keys_url":"https://api.github.com/repos/isquariel/oh-my-zsh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/isquariel/oh-my-zsh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/isquariel/oh-my-zsh/teams","hooks_url":"https://api.github.com/repos/isquariel/oh-my-zsh/hooks","issue_events_url":"https://api.github.com/repos/isquariel/oh-my-zsh/issues/events{/number}","events_url":"https://api.github.com/repos/isquariel/oh-my-zsh/events","assignees_url":"https://api.github.com/repos/isquariel/oh-my-zsh/assignees{/user}","branches_url":"https://api.github.com/repos/isquariel/oh-my-zsh/branches{/branch}","tags_url":"https://api.github.com/repos/isquariel/oh-my-zsh/tags","blobs_url":"https://api.github.com/repos/isquariel/oh-my-zsh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/isquariel/oh-my-zsh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/isquariel/oh-my-zsh/git/refs{/sha}","trees_url":"https://api.github.com/repos/isquariel/oh-my-zsh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/isquariel/oh-my-zsh/statuses/{sha}","languages_url":"https://api.github.com/repos/isquariel/oh-my-zsh/languages","stargazers_url":"https://api.github.com/repos/isquariel/oh-my-zsh/stargazers","contributors_url":"https://api.github.com/repos/isquariel/oh-my-zsh/contributors","subscribers_url":"https://api.github.com/repos/isquariel/oh-my-zsh/subscribers","subscription_url":"https://api.github.com/repos/isquariel/oh-my-zsh/subscription","commits_url":"https://api.github.com/repos/isquariel/oh-my-zsh/commits{/sha}","git_commits_url":"https://api.github.com/repos/isquariel/oh-my-zsh/git/commits{/sha}","comments_url":"https://api.github.com/repos/isquariel/oh-my-zsh/comments{/number}","issue_comment_url":"https://api.github.com/repos/isquariel/oh-my-zsh/issues/comments/{number}","contents_url":"https://api.github.com/repos/isquariel/oh-my-zsh/contents/{+path}","compare_url":"https://api.github.com/repos/isquariel/oh-my-zsh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/isquariel/oh-my-zsh/merges","archive_url":"https://api.github.com/repos/isquariel/oh-my-zsh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/isquariel/oh-my-zsh/downloads","issues_url":"https://api.github.com/repos/isquariel/oh-my-zsh/issues{/number}","pulls_url":"https://api.github.com/repos/isquariel/oh-my-zsh/pulls{/number}","milestones_url":"https://api.github.com/repos/isquariel/oh-my-zsh/milestones{/number}","notifications_url":"https://api.github.com/repos/isquariel/oh-my-zsh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/isquariel/oh-my-zsh/labels{/name}","releases_url":"https://api.github.com/repos/isquariel/oh-my-zsh/releases{/id}","created_at":"2013-11-08T19:24:46Z","updated_at":"2015-01-12T13:52:45Z","pushed_at":"2015-01-16T11:59:11Z","git_url":"git://github.com/isquariel/oh-my-zsh.git","ssh_url":"git@github.com:isquariel/oh-my-zsh.git","clone_url":"https://github.com/isquariel/oh-my-zsh.git","svn_url":"https://github.com/isquariel/oh-my-zsh","homepage":"http://twitter.com/ohmyzsh","size":2379,"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":"robbyrussell:master","ref":"master","sha":"c78277fd8bda5fec87504469afdf121355876006","user":{"login":"robbyrussell","id":257,"avatar_url":"https://avatars.githubusercontent.com/u/257?v=3","gravatar_id":"","url":"https://api.github.com/users/robbyrussell","html_url":"https://github.com/robbyrussell","followers_url":"https://api.github.com/users/robbyrussell/followers","following_url":"https://api.github.com/users/robbyrussell/following{/other_user}","gists_url":"https://api.github.com/users/robbyrussell/gists{/gist_id}","starred_url":"https://api.github.com/users/robbyrussell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbyrussell/subscriptions","organizations_url":"https://api.github.com/users/robbyrussell/orgs","repos_url":"https://api.github.com/users/robbyrussell/repos","events_url":"https://api.github.com/users/robbyrussell/events{/privacy}","received_events_url":"https://api.github.com/users/robbyrussell/received_events","type":"User","site_admin":false},"repo":{"id":291137,"name":"oh-my-zsh","full_name":"robbyrussell/oh-my-zsh","owner":{"login":"robbyrussell","id":257,"avatar_url":"https://avatars.githubusercontent.com/u/257?v=3","gravatar_id":"","url":"https://api.github.com/users/robbyrussell","html_url":"https://github.com/robbyrussell","followers_url":"https://api.github.com/users/robbyrussell/followers","following_url":"https://api.github.com/users/robbyrussell/following{/other_user}","gists_url":"https://api.github.com/users/robbyrussell/gists{/gist_id}","starred_url":"https://api.github.com/users/robbyrussell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robbyrussell/subscriptions","organizations_url":"https://api.github.com/users/robbyrussell/orgs","repos_url":"https://api.github.com/users/robbyrussell/repos","events_url":"https://api.github.com/users/robbyrussell/events{/privacy}","received_events_url":"https://api.github.com/users/robbyrussell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robbyrussell/oh-my-zsh","description":"A community-driven framework for managing your zsh configuration. Includes 120+ optional plugins (rails, git, OSX, hub, capistrano, brew, ant, macports, etc), over 120 themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.","fork":false,"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh","forks_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/forks","keys_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/teams","hooks_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/hooks","issue_events_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/events{/number}","events_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/events","assignees_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/assignees{/user}","branches_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/branches{/branch}","tags_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/tags","blobs_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/git/refs{/sha}","trees_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/statuses/{sha}","languages_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/languages","stargazers_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/stargazers","contributors_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/contributors","subscribers_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/subscribers","subscription_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/subscription","commits_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/commits{/sha}","git_commits_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/git/commits{/sha}","comments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/comments{/number}","issue_comment_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/comments/{number}","contents_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/contents/{+path}","compare_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/merges","archive_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/downloads","issues_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues{/number}","pulls_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls{/number}","milestones_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/milestones{/number}","notifications_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/labels{/name}","releases_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/releases{/id}","created_at":"2009-08-28T18:15:37Z","updated_at":"2015-01-16T11:03:50Z","pushed_at":"2015-01-09T08:45:12Z","git_url":"git://github.com/robbyrussell/oh-my-zsh.git","ssh_url":"git@github.com:robbyrussell/oh-my-zsh.git","clone_url":"https://github.com/robbyrussell/oh-my-zsh.git","svn_url":"https://github.com/robbyrussell/oh-my-zsh","homepage":"http://ohmyz.sh/","size":26032,"stargazers_count":20903,"watchers_count":20903,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6851,"mirror_url":null,"open_issues_count":588,"forks":6851,"open_issues":588,"watchers":20903,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/2312"},"html":{"href":"https://github.com/robbyrussell/oh-my-zsh/pull/2312"},"issue":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/2312"},"comments":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/2312/comments"},"review_comments":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/2312/comments"},"review_comment":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/pulls/2312/commits"},"statuses":{"href":"https://api.github.com/repos/robbyrussell/oh-my-zsh/statuses/92c8919a383bfdc9cb4ba51a0dbe37e2633d145e"}}}}