mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 09:39:52 +08:00
5 lines
212 B
Fish
5 lines
212 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
|