2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-02-01 06:43:39 +00:00
fish-shell/share/functions/__fish_systemd_machines.fish

5 lines
206 B
Fish
Raw Normal View History

# 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 | while read -l a b; echo $a; end
end