2 # SPDX-License-Identifier: LGPL-2.1+
4 (( $+functions[__sd_machines_get_machines] )) ||
5 __sd_machines_get_machines () {
6 machinectl --full --no-legend --no-pager list | {while read -r a b; do echo $a; done;};
10 _machines=("${(fo)$(__sd_machines_get_machines)}")
12 if [[ -n "$_machines" ]]; then
13 _describe 'machines' _machines
15 _message 'no machines'