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 () __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 () __vm_list ()