From 3a450ec5c6adf3057bcedd6cc19c10617abc35a5 Mon Sep 17 00:00:00 2001 From: Wieland Hoffmann Date: Mon, 10 Mar 2014 15:17:32 +0100 Subject: [PATCH] _sd_machines: Use machinectl --no-legend 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 1d64d13b1..a0039ee0f 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 -- 2.30.2