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 _describe 'actions' actions
;; ;;
(vms) (vms)
compadd -- $(vboxmanage list vms | awk '{print $1}' | xargs) compadd -- $(vboxmanage list vms | awk -F\" '{print $2}' | xargs)
;; ;;
(snapshots) (snapshots)
local snapshot_list local snapshot_list