浏览代码

[FEATURE] Support Vagrant Share

Vagrant 1.5 introduced Vagrant Share to allow remote access to a Vagrant
environment. This adds support for the `share` and `connect` commands.
Ingo Renner 11 年之前
父节点
当前提交
38fe100efe
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      plugins/vagrant/_vagrant

+ 2 - 0
plugins/vagrant/_vagrant

@@ -6,6 +6,7 @@
 local -a _1st_arguments
 local -a _1st_arguments
 _1st_arguments=(
 _1st_arguments=(
     'box:Box commands'
     'box:Box commands'
+    'connect:Connects to a shared, remote Vagrant environment'
     'destroy:Destroys the vagrant environment'
     'destroy:Destroys the vagrant environment'
     'halt:Halts the currently running vagrant environment'
     'halt:Halts the currently running vagrant environment'
     'init:[box_name] [box_url] Initializes current folder for Vagrant usage'
     'init:[box_name] [box_url] Initializes current folder for Vagrant usage'
@@ -14,6 +15,7 @@ _1st_arguments=(
     'provision:Run the provisioner'
     'provision:Run the provisioner'
     'reload:Reload the vagrant environment'
     'reload:Reload the vagrant environment'
     'resume:Resumes a suspend vagrant environment'
     'resume:Resumes a suspend vagrant environment'
+    'share:Shares the Vagrant environment and allows remote access'
     'ssh:SSH into the currently running environment'
     'ssh:SSH into the currently running environment'
     'ssh-config:outputs .ssh/config valid syntax for connecting to this environment via ssh.'
     'ssh-config:outputs .ssh/config valid syntax for connecting to this environment via ssh.'
     'status:Shows the status of the current Vagrant environment.'
     'status:Shows the status of the current Vagrant environment.'