diff options
author | Robby Russell <robby@planetargon.com> | 2014-09-05 21:16:23 +0200 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2014-09-05 21:16:23 +0200 |
commit | 96e4e5dd032d2df75f87d5b3e5594d527c655b16 (patch) | |
tree | 9d9572e16cbab6e64771a8ea2617c674fa8f7572 /plugins/vagrant | |
parent | 4bba11dbefbb96441e28221d322df07e737239a2 (diff) | |
parent | ae901fa0d5163728de3dde787071df0e2fcf47d5 (diff) | |
download | zsh-96e4e5dd032d2df75f87d5b3e5594d527c655b16.tar.gz zsh-96e4e5dd032d2df75f87d5b3e5594d527c655b16.tar.bz2 zsh-96e4e5dd032d2df75f87d5b3e5594d527c655b16.zip |
Merge pull request #2811 from stucki/multiple-vagrant-machines
Support dynamically defined Vagrant machines
Diffstat (limited to 'plugins/vagrant')
-rw-r--r-- | plugins/vagrant/_vagrant | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/vagrant/_vagrant b/plugins/vagrant/_vagrant index f842b4fbb..0c82acd42 100644 --- a/plugins/vagrant/_vagrant +++ b/plugins/vagrant/_vagrant @@ -57,6 +57,7 @@ __box_list () __vm_list () { _wanted application expl 'command' compadd $(command grep Vagrantfile -oe '^[^#]*\.vm\.define *[:"]\([a-zA-Z0-9_-]\+\)' 2>/dev/null | awk '{print substr($2, 2)}') + _wanted application expl 'command' compadd $(command ls .vagrant/machines/ 2>/dev/null) } __vagrant-box () |