shell-completion: add pseudo machine ".host" to shell completion

This commit is contained in:
Lennart Poettering 2015-10-08 15:14:27 +02:00
parent 024a8ec137
commit 1af1f2f92e

View file

@ -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;
}