fish-shell/share/functions/__fish_systemd_machines.fish
Akatsuki efb72f1f91 Revert "Move __fish_systemd_machines into machinectl completion script"
This reverts commit 9c15b5b7a4008488f1a0e4e786db42a6cea397ca.
2019-12-09 21:07:21 +01:00

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