mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
shell-completion: add pseudo machine ".host" to shell completion
This commit is contained in:
parent
024a8ec137
commit
1af1f2f92e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user