From ecbe927e55165b985f5e4073502e6d69dc849735 Mon Sep 17 00:00:00 2001 From: Sebastian Mark Date: Sat, 16 Jun 2018 00:10:54 +0200 Subject: [PATCH] FIX: correct vm listing for `compadd` --- _vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_vb b/_vb index a4ac104..53806dd 100644 --- a/_vb +++ b/_vb @@ -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