fish-shell/share/functions/__fish_systemd_machines.fish

5 lines
212 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
2015-09-28 14:22:29 +00:00
machinectl --no-legend --no-pager list --all | while read -l a b; echo $a; end
end