From: Lennart Poettering Date: Thu, 8 Oct 2015 13:14:27 +0000 (+0200) Subject: shell-completion: add pseudo machine ".host" to shell completion X-Git-Tag: v228~228^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1af1f2f92ef52e3e905b7928d42345d9c48e7e7b;p=thirdparty%2Fsystemd.git shell-completion: add pseudo machine ".host" to shell completion --- diff --git a/shell-completion/bash/machinectl b/shell-completion/bash/machinectl index cbdc3f73041..140465d3168 100644 --- a/shell-completion/bash/machinectl +++ b/shell-completion/bash/machinectl @@ -26,7 +26,7 @@ __contains_word() { __get_machines() { local a b - (machinectl list-images --no-legend --no-pager; machinectl list --no-legend --no-pager) | \ + (machinectl list-images --no-legend --no-pager; machinectl list --no-legend --no-pager; echo ".host") | \ { while read a b; do echo " $a"; done; } | sort -u; }