aboutsummaryrefslogtreecommitdiff
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 /shell-completion/bash/machinectl
parentrun: various modernizations and smaller fixes (diff)
downloadsystemd-1af1f2f92ef52e3e905b7928d42345d9c48e7e7b.tar.gz
systemd-1af1f2f92ef52e3e905b7928d42345d9c48e7e7b.tar.bz2
systemd-1af1f2f92ef52e3e905b7928d42345d9c48e7e7b.zip
shell-completion: add pseudo machine ".host" to shell completion
Diffstat (limited to 'shell-completion/bash/machinectl')
-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 cbdc3f730..140465d31 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;
}