shell-completion: add pseudo machine ".host" to shell completion
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user