This commit is contained in:
Matt Hamilton 2017-06-02 03:12:33 +00:00 committed by GitHub
commit 62754e307f
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@
#
# ------------------------------------------------------------------------------
function _cask() {
_cask() {
local ret=1 state
_arguments \
':subcommand:->subcommand' \

View File

@ -38,7 +38,7 @@
local -a args reply
function _virsh-domains() {
_virsh-domains() {
local -a out
out=( ${${${${(f)"$(virsh list "$@")"}:#(---| Id)*}## #[0-9-]## ##}%% *} )
_describe -t domains "${${1#--}:-running} domains" out