Compare commits

..

No commits in common. "173a14c436d5f66cbe69f5c14c7a09784004bc21" and "d08cee09cecdc2d95bf501183597411a7632be7c" have entirely different histories.

1 changed files with 3 additions and 3 deletions

View File

@ -345,10 +345,10 @@ _vboxmanage() {
':machine:_vboxmachines' ':machine:_vboxmachines'
;; ;;
(controlvm) (controlvm)
local -a subcommands=(${(@f)"$(vboxmanage $words[1] | perl -wln -e 'm{VBoxManage controlvm.*?\s+([a-z][a-z-]+)(?:\s|$)} and print $1')"}) local -a subcommands=(${(@f)"$(vboxmanage $words[1] | perl -wln -e 'm{^\s+([a-z][a-z-]+)} and print $1')"})
_arguments \ _arguments \
'1:machine:_vboxmachines' \ '1:commands:'"($subcommands)" \
'2:commands:'"($subcommands)" ':machine:_vboxmachines'
;; ;;
esac esac
;; ;;