Otherwise bogus entries from the header and footer would show up in the completion list. --- shell-completion/zsh/_sd_machines | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shell-completion/zsh/_sd_machines b/shell-completion/zsh/_sd_machines index 1d64d13..a0039ee 100644 --- a/shell-completion/zsh/_sd_machines +++ b/shell-completion/zsh/_sd_machines @@ -1,6 +1,6 @@ #autoload __get_machines () { - machinectl --full --no-pager list | {while read -r a b; do echo $a; done;}; + machinectl --full --no-legend --no-pager list | {while read -r a b; do echo $a; done;}; } local -a _machines -- 1.9.0 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel