diff options
Diffstat (limited to 'shell-completion/bash/portablectl')
-rw-r--r-- | shell-completion/bash/portablectl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shell-completion/bash/portablectl b/shell-completion/bash/portablectl index 2baafb7486..71789277b0 100644 --- a/shell-completion/bash/portablectl +++ b/shell-completion/bash/portablectl @@ -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 } _portablectl() { |