mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
7 lines
225 B
Fish
7 lines
225 B
Fish
|
# It seems machinectl will eliminate spaces from machine names so we don't need to handle that
|
||
|
function __fish_systemd_machines
|
||
|
machinectl --no-legend --no-pager list --all | while read -l a b
|
||
|
echo $a
|
||
|
end
|
||
|
end
|