summaryrefslogtreecommitdiff
path: root/plugins/vagrant
diff options
context:
space:
mode:
authorKozlov Alexander <badryke@gmail.com>2018-11-16 13:38:43 +0300
committerGitHub <noreply@github.com>2018-11-16 13:38:43 +0300
commit8c95c52353118643ac3dbd9b0c185a3129b84bf8 (patch)
treeee7497251b7a541480ae5c6a97b63b14381ed5ee /plugins/vagrant
parentdd30cf104c9ca42d89d26a134382ca421869ce7e (diff)
parent3d8f2bda599c8c6d160dc448e5ab28aaf2d5e90d (diff)
downloadzsh-8c95c52353118643ac3dbd9b0c185a3129b84bf8.tar.gz
zsh-8c95c52353118643ac3dbd9b0c185a3129b84bf8.tar.bz2
zsh-8c95c52353118643ac3dbd9b0c185a3129b84bf8.zip
Merge branch 'master' into master
Diffstat (limited to 'plugins/vagrant')
-rw-r--r--plugins/vagrant/README.md10
-rw-r--r--plugins/vagrant/_vagrant6
2 files changed, 13 insertions, 3 deletions
diff --git a/plugins/vagrant/README.md b/plugins/vagrant/README.md
new file mode 100644
index 000000000..f6ea87b0e
--- /dev/null
+++ b/plugins/vagrant/README.md
@@ -0,0 +1,10 @@
+# Vagrant plugin
+
+This plugin adds autocompletion for [Vagrant](https://www.vagrantup.com/) commands, task names, box names and built-in handy documentation.
+
+To use it, add `vagrant` to the plugins array in your zshrc file:
+
+```zsh
+plugins=(... vagrant)
+```
+
diff --git a/plugins/vagrant/_vagrant b/plugins/vagrant/_vagrant
index c5335e72e..a99a8f0e7 100644
--- a/plugins/vagrant/_vagrant
+++ b/plugins/vagrant/_vagrant
@@ -22,7 +22,7 @@ _1st_arguments=(
'push:Deploys code in this environment to a configured destination'
'rdp:Connects to machine via RDP'
'reload:Reload the vagrant environment'
- 'resume:Resumes a suspend vagrant environment'
+ 'resume:Resumes a suspended vagrant environment'
'rsync:Syncs rsync synced folders to remote machine'
'rsync-auto:Syncs rsync synced folders automatically when files change'
'share:Shares your Vagrant environment with anyone in the world'
@@ -81,7 +81,7 @@ __vagrant-box ()
case $state in
(command)
- _describe -t commands "gem subcommand" _box_arguments
+ _describe -t commands "vagrant subcommand" _box_arguments
return
;;
@@ -110,7 +110,7 @@ _arguments -C \
case $state in
(command)
- _describe -t commands "gem subcommand" _1st_arguments
+ _describe -t commands "vagrant subcommand" _1st_arguments
return
;;