]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
shell-completion: add pseudo machine ".host" to shell completion 1496/head
authorLennart Poettering <lennart@poettering.net>
Thu, 8 Oct 2015 13:14:27 +0000 (15:14 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 8 Oct 2015 13:14:27 +0000 (15:14 +0200)
shell-completion/bash/machinectl

index cbdc3f7304111f50acfa0c3b21ddacf3696c7f2d..140465d31685d3fffe9353f30a112919f0a3e179 100644 (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;
 }