From 8a5d1a7768967bf19fef5fdeb5d0ee650b451dc5 Mon Sep 17 00:00:00 2001 From: Takahiro OKUMURA Date: Tue, 27 May 2014 12:49:08 +0900 Subject: [PATCH] [Vagrant] Add pattern of underscore to vm_list --- src/_vagrant | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_vagrant b/src/_vagrant index f36fee6..1fc1a08 100644 --- a/src/_vagrant +++ b/src/_vagrant @@ -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 ()