{"action":"created","comment":{"url":"https://api.github.com/repos/myzsh/myzsh-vagrant/pulls/comments/34205705","id":34205705,"diff_hunk":"@@ -14,6 +14,13 @@ _vagrant () {\n \t\tfi\n \t\t_describe -t commands \"vagrant $1\" vms -V1\n \t}\n+\tgetboxes() {\n+        \tlocal -a boxes\n+        \tboxes=(\n+\t\t\t$(print -l $(basename ~/.vagrant.d/boxes/*(/)))","path":"completions/_vagrant","position":7,"original_position":7,"commit_id":"3667f29b677139501f20562c0de28c6bb9aa4073","original_commit_id":"3667f29b677139501f20562c0de28c6bb9aa4073","user":{"login":"svpernova09","id":967362,"avatar_url":"https://avatars.githubusercontent.com/u/967362?v=3","gravatar_id":"","url":"https://api.github.com/users/svpernova09","html_url":"https://github.com/svpernova09","followers_url":"https://api.github.com/users/svpernova09/followers","following_url":"https://api.github.com/users/svpernova09/following{/other_user}","gists_url":"https://api.github.com/users/svpernova09/gists{/gist_id}","starred_url":"https://api.github.com/users/svpernova09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svpernova09/subscriptions","organizations_url":"https://api.github.com/users/svpernova09/orgs","repos_url":"https://api.github.com/users/svpernova09/repos","events_url":"https://api.github.com/users/svpernova09/events{/privacy}","received_events_url":"https://api.github.com/users/svpernova09/received_events","type":"User","site_admin":false},"body":"For me, print -l was a lot faster than waiting for the vagrant command to respond? Dan mentioned this as well, are you guys seeing vagrant box list being faster?","created_at":"2015-07-08T22:21:24Z","updated_at":"2015-07-08T22:21:24Z","html_url":"https://github.com/myzsh/myzsh-vagrant/pull/3#discussion_r34205705","pull_request_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/myzsh/myzsh-vagrant/pulls/comments/34205705"},"html":{"href":"https://github.com/myzsh/myzsh-vagrant/pull/3#discussion_r34205705"},"pull_request":{"href":"https://api.github.com/repos/myzsh/myzsh-vagrant/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/myzsh/myzsh-vagrant/pulls/3","id":39438325,"html_url":"https://github.com/myzsh/myzsh-vagrant/pull/3","diff_url":"https://github.com/myzsh/myzsh-vagrant/pull/3.diff","patch_url":"https://github.com/myzsh/myzsh-vagrant/pull/3.patch","issue_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/issues/3","number":3,"state":"open","locked":false,"title":"Allow init tab complete currently installed boxes","user":{"login":"svpernova09","id":967362,"avatar_url":"https://avatars.githubusercontent.com/u/967362?v=3","gravatar_id":"","url":"https://api.github.com/users/svpernova09","html_url":"https://github.com/svpernova09","followers_url":"https://api.github.com/users/svpernova09/followers","following_url":"https://api.github.com/users/svpernova09/following{/other_user}","gists_url":"https://api.github.com/users/svpernova09/gists{/gist_id}","starred_url":"https://api.github.com/users/svpernova09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svpernova09/subscriptions","organizations_url":"https://api.github.com/users/svpernova09/orgs","repos_url":"https://api.github.com/users/svpernova09/repos","events_url":"https://api.github.com/users/svpernova09/events{/privacy}","received_events_url":"https://api.github.com/users/svpernova09/received_events","type":"User","site_admin":false},"body":"Usage:\r\n\r\nvagrant `<tab>` -> select init `<tab>` -> user show list of boxes they currently have added based on contents of ~/.vagrant.d/boxes\r\n\r\nIf there is a better way of listing the folders in ~/.vagrant.d/boxes than ```print -l $(basename ~/.vagrant.d/boxes/*(/))``` I'm open to suggestions.","created_at":"2015-07-08T03:23:43Z","updated_at":"2015-07-08T22:21:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e6114a24aa5460a49a35b49fc799bf9952dc1f01","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/pulls/3/commits","review_comments_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/pulls/3/comments","review_comment_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/pulls/comments{/number}","comments_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/issues/3/comments","statuses_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/statuses/3667f29b677139501f20562c0de28c6bb9aa4073","head":{"label":"svpernova09:feature/updates","ref":"feature/updates","sha":"3667f29b677139501f20562c0de28c6bb9aa4073","user":{"login":"svpernova09","id":967362,"avatar_url":"https://avatars.githubusercontent.com/u/967362?v=3","gravatar_id":"","url":"https://api.github.com/users/svpernova09","html_url":"https://github.com/svpernova09","followers_url":"https://api.github.com/users/svpernova09/followers","following_url":"https://api.github.com/users/svpernova09/following{/other_user}","gists_url":"https://api.github.com/users/svpernova09/gists{/gist_id}","starred_url":"https://api.github.com/users/svpernova09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svpernova09/subscriptions","organizations_url":"https://api.github.com/users/svpernova09/orgs","repos_url":"https://api.github.com/users/svpernova09/repos","events_url":"https://api.github.com/users/svpernova09/events{/privacy}","received_events_url":"https://api.github.com/users/svpernova09/received_events","type":"User","site_admin":false},"repo":{"id":38725736,"name":"myzsh-vagrant","full_name":"svpernova09/myzsh-vagrant","owner":{"login":"svpernova09","id":967362,"avatar_url":"https://avatars.githubusercontent.com/u/967362?v=3","gravatar_id":"","url":"https://api.github.com/users/svpernova09","html_url":"https://github.com/svpernova09","followers_url":"https://api.github.com/users/svpernova09/followers","following_url":"https://api.github.com/users/svpernova09/following{/other_user}","gists_url":"https://api.github.com/users/svpernova09/gists{/gist_id}","starred_url":"https://api.github.com/users/svpernova09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svpernova09/subscriptions","organizations_url":"https://api.github.com/users/svpernova09/orgs","repos_url":"https://api.github.com/users/svpernova09/repos","events_url":"https://api.github.com/users/svpernova09/events{/privacy}","received_events_url":"https://api.github.com/users/svpernova09/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/svpernova09/myzsh-vagrant","description":"Vagrant modules for myzsh","fork":true,"url":"https://api.github.com/repos/svpernova09/myzsh-vagrant","forks_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/forks","keys_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/teams","hooks_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/hooks","issue_events_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/issues/events{/number}","events_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/events","assignees_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/assignees{/user}","branches_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/branches{/branch}","tags_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/tags","blobs_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/git/refs{/sha}","trees_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/statuses/{sha}","languages_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/languages","stargazers_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/stargazers","contributors_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/contributors","subscribers_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/subscribers","subscription_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/subscription","commits_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/commits{/sha}","git_commits_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/git/commits{/sha}","comments_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/comments{/number}","issue_comment_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/issues/comments{/number}","contents_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/contents/{+path}","compare_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/merges","archive_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/downloads","issues_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/issues{/number}","pulls_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/pulls{/number}","milestones_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/milestones{/number}","notifications_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/labels{/name}","releases_url":"https://api.github.com/repos/svpernova09/myzsh-vagrant/releases{/id}","created_at":"2015-07-08T02:00:54Z","updated_at":"2014-09-08T22:37:46Z","pushed_at":"2015-07-08T15:48:25Z","git_url":"git://github.com/svpernova09/myzsh-vagrant.git","ssh_url":"git@github.com:svpernova09/myzsh-vagrant.git","clone_url":"https://github.com/svpernova09/myzsh-vagrant.git","svn_url":"https://github.com/svpernova09/myzsh-vagrant","homepage":null,"size":82,"stargazers_count":0,"watchers_count":0,"language":null,"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":"myzsh:master","ref":"master","sha":"c1f51dbb1cfe63303724dd44ab40f64dbd80a40a","user":{"login":"myzsh","id":8698534,"avatar_url":"https://avatars.githubusercontent.com/u/8698534?v=3","gravatar_id":"","url":"https://api.github.com/users/myzsh","html_url":"https://github.com/myzsh","followers_url":"https://api.github.com/users/myzsh/followers","following_url":"https://api.github.com/users/myzsh/following{/other_user}","gists_url":"https://api.github.com/users/myzsh/gists{/gist_id}","starred_url":"https://api.github.com/users/myzsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myzsh/subscriptions","organizations_url":"https://api.github.com/users/myzsh/orgs","repos_url":"https://api.github.com/users/myzsh/repos","events_url":"https://api.github.com/users/myzsh/events{/privacy}","received_events_url":"https://api.github.com/users/myzsh/received_events","type":"Organization","site_admin":false},"repo":{"id":23078312,"name":"myzsh-vagrant","full_name":"myzsh/myzsh-vagrant","owner":{"login":"myzsh","id":8698534,"avatar_url":"https://avatars.githubusercontent.com/u/8698534?v=3","gravatar_id":"","url":"https://api.github.com/users/myzsh","html_url":"https://github.com/myzsh","followers_url":"https://api.github.com/users/myzsh/followers","following_url":"https://api.github.com/users/myzsh/following{/other_user}","gists_url":"https://api.github.com/users/myzsh/gists{/gist_id}","starred_url":"https://api.github.com/users/myzsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myzsh/subscriptions","organizations_url":"https://api.github.com/users/myzsh/orgs","repos_url":"https://api.github.com/users/myzsh/repos","events_url":"https://api.github.com/users/myzsh/events{/privacy}","received_events_url":"https://api.github.com/users/myzsh/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/myzsh/myzsh-vagrant","description":"Vagrant modules for myzsh","fork":false,"url":"https://api.github.com/repos/myzsh/myzsh-vagrant","forks_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/forks","keys_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/teams","hooks_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/hooks","issue_events_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/issues/events{/number}","events_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/events","assignees_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/assignees{/user}","branches_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/branches{/branch}","tags_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/tags","blobs_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/git/refs{/sha}","trees_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/statuses/{sha}","languages_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/languages","stargazers_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/stargazers","contributors_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/contributors","subscribers_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/subscribers","subscription_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/subscription","commits_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/commits{/sha}","git_commits_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/git/commits{/sha}","comments_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/comments{/number}","issue_comment_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/issues/comments{/number}","contents_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/contents/{+path}","compare_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/merges","archive_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/downloads","issues_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/issues{/number}","pulls_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/pulls{/number}","milestones_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/milestones{/number}","notifications_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/labels{/name}","releases_url":"https://api.github.com/repos/myzsh/myzsh-vagrant/releases{/id}","created_at":"2014-08-18T16:27:34Z","updated_at":"2014-09-08T22:37:46Z","pushed_at":"2015-07-08T15:48:26Z","git_url":"git://github.com/myzsh/myzsh-vagrant.git","ssh_url":"git@github.com:myzsh/myzsh-vagrant.git","clone_url":"https://github.com/myzsh/myzsh-vagrant.git","svn_url":"https://github.com/myzsh/myzsh-vagrant","homepage":null,"size":142,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/myzsh/myzsh-vagrant/pulls/3"},"html":{"href":"https://github.com/myzsh/myzsh-vagrant/pull/3"},"issue":{"href":"https://api.github.com/repos/myzsh/myzsh-vagrant/issues/3"},"comments":{"href":"https://api.github.com/repos/myzsh/myzsh-vagrant/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/myzsh/myzsh-vagrant/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/myzsh/myzsh-vagrant/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/myzsh/myzsh-vagrant/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/myzsh/myzsh-vagrant/statuses/3667f29b677139501f20562c0de28c6bb9aa4073"}}}}