Merge pull request #234 from tacahilo/vagrant-added-underscore-pattern-to-vmlist

[Vagrant] Add pattern of underscore to vm_list
This commit is contained in:
Hideo Hattori 2014-05-28 13:00:57 +09:00
commit a6d6234058
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ __plugin_list ()
__vm_list ()
{
_wanted application expl 'command' compadd $(command grep Vagrantfile -oe '^[^#]*\.vm\.define * ['\''":]\?\([a-zA-Z0-9\-]\+\)['\''"]\?' 2>/dev/null | awk '{print $NF}' | sed 's/'\''//g'|sed 's/\"//g'|sed 's/^://' )
_wanted application expl 'command' compadd $(command grep Vagrantfile -oe '^[^#]*\.vm\.define * ['\''":]\?\([a-zA-Z0-9\-_]\+\)['\''"]\?' 2>/dev/null | awk '{print $NF}' | sed 's/'\''//g'|sed 's/\"//g'|sed 's/^://' )
}
__vagrant-box ()