diff options
author | Wieland Hoffmann <themineo@gmail.com> | 2014-03-10 15:17:32 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-03-15 00:32:06 -0400 |
commit | 3a450ec5c6adf3057bcedd6cc19c10617abc35a5 (patch) | |
tree | 064ed8e0939506a838a3ab5387c0f70fa74ea35b /shell-completion/zsh/_sd_machines | |
parent | d895500c478c6ad7904905bb4c08176d5a6c0763 (diff) |
_sd_machines: Use machinectl --no-legend
Otherwise bogus entries from the header and footer would show up in the
completion list.
Diffstat (limited to 'shell-completion/zsh/_sd_machines')
-rw-r--r-- | shell-completion/zsh/_sd_machines | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/zsh/_sd_machines b/shell-completion/zsh/_sd_machines index 1d64d13b1a..a0039ee0f8 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 |