mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-11-25 10:29:58 +08:00
[Vagrant] Add pattern of underscore to vm_list
This commit is contained in:
1 parent
dae8cb844a
commit
8a5d1a7768
1 file changed
+1
-1
+1
-1
@@ -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 ()
|
||||
|
||||
Reference in new issue
Block a user