vagrant: fix vagrant box autocomplete (#8929)

This commit is contained in:
Kennith Leung 2020-05-23 09:03:55 -07:00 committed by GitHub
parent 8cb449ee20
commit 0a456cb340
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ()