summaryrefslogtreecommitdiffstats
path: root/shell-completion/bash/busctl
diff options
context:
space:
mode:
Diffstat (limited to 'shell-completion/bash/busctl')
-rw-r--r--shell-completion/bash/busctl5
1 files changed, 3 insertions, 2 deletions
diff --git a/shell-completion/bash/busctl b/shell-completion/bash/busctl
index ee51c84c0b..cebd25a871 100644
--- a/shell-completion/bash/busctl
+++ b/shell-completion/bash/busctl
@@ -25,8 +25,9 @@ __contains_word () {
__get_machines() {
local a b
- machinectl list --full --no-legend --no-pager 2>/dev/null |
- { while read a b; do echo " $a"; done; };
+ { machinectl list --full --max-addresses=0 --no-legend --no-pager 2>/dev/null; echo ".host"; } | \
+ { while read a b; do echo " $a"; done; } | \
+ sort -u
}
__get_busnames() {