From 0a456cb3409bea3f2e7980c03f2d9fb05dbd53d0 Mon Sep 17 00:00:00 2001 From: Kennith Leung Date: Sat, 23 May 2020 09:03:55 -0700 Subject: [PATCH] vagrant: fix vagrant box autocomplete (#8929) --- plugins/vagrant/_vagrant | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/vagrant/_vagrant b/plugins/vagrant/_vagrant index 79c4c6fe6..3e16dbebf 100644 --- a/plugins/vagrant/_vagrant +++ b/plugins/vagrant/_vagrant @@ -64,7 +64,7 @@ __task_list () __box_list () { - _wanted application expl 'command' compadd $(command vagrant box list | sed -e 's/ /\\ /g') + _wanted application expl 'command' compadd $(command vagrant box list | sed -e 's/ *(.*)//g;s/ /\\ /g') } __vm_list ()