FIX: correct vm listing for compadd

This commit is contained in:
Sebastian Mark 2018-06-16 00:10:54 +02:00
parent 26b64111d5
commit ecbe927e55

2
_vb
View file

@ -24,7 +24,7 @@ _vb() {
_describe 'actions' actions
;;
(vms)
compadd -- $(vboxmanage list vms | awk '{print $1}' | xargs)
compadd -- $(vboxmanage list vms | awk -F\" '{print $2}' | xargs)
;;
(snapshots)
local snapshot_list