summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-08 15:14:27 +0200
committerLennart Poettering <lennart@poettering.net>2015-10-08 15:14:27 +0200
commit1af1f2f92ef52e3e905b7928d42345d9c48e7e7b (patch)
tree542e6138f28e22e235d8fc9de2419c6d883a5a5c
parent024a8ec137f17cbbc22256ef4aa7f99ec671dbc5 (diff)
shell-completion: add pseudo machine ".host" to shell completion
-rw-r--r--shell-completion/bash/machinectl2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell-completion/bash/machinectl b/shell-completion/bash/machinectl
index cbdc3f7304..140465d316 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;
}