Merge pull request #185 from benohara/master
Fix matching for vm names im Vagrant file when using dashes or underscor...
This commit is contained in:
		
						commit
						270e7e102d
					
				|  | @ -76,7 +76,7 @@ __plugin_list () | ||||||
| 
 | 
 | ||||||
| __vm_list () | __vm_list () | ||||||
| { | { | ||||||
|     _wanted application expl 'command' compadd $(command grep Vagrantfile -oe '^[^#]*\.vm\.define *:\([a-zA-Z0-9]\+\)' 2>/dev/null | cut -d: -f2) |     _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' ) | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| __vagrant-box () | __vagrant-box () | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue