_sd_machines revision c0fd7cbd7a3a0aab503393e648b33b6ad49ec485
c0fd7cbd7a3a0aab503393e648b33b6ad49ec485William Giokas__get_machines () {
c0fd7cbd7a3a0aab503393e648b33b6ad49ec485William Giokas machinectl --full --no-pager list | {while read -r a b; do echo $a; done;};
c0fd7cbd7a3a0aab503393e648b33b6ad49ec485William Giokaslocal -a _machines
c0fd7cbd7a3a0aab503393e648b33b6ad49ec485William Giokas_machines=("${(fo)$(__get_machines)}")
c0fd7cbd7a3a0aab503393e648b33b6ad49ec485William Giokastypeset -U _machines
c0fd7cbd7a3a0aab503393e648b33b6ad49ec485William Giokasif [[ -n "$_machines" ]]; then
c0fd7cbd7a3a0aab503393e648b33b6ad49ec485William Giokas _describe 'machines' _machines
c0fd7cbd7a3a0aab503393e648b33b6ad49ec485William Giokas _message 'no machines'