fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Johannes AltmanningerMark private functions that don't need localizationa53db7256

master
339 B11 linesraw
1# localization: skip(private)
2#
3# It seems machinectl will eliminate spaces from machine names so we don't need to handle that
4function __fish_systemd_machines
5    # We don't want to complete with ANSI color codes
6    set -lu SYSTEMD_COLORS
7
8    machinectl --no-legend --no-pager list --all | while read -l a b
9        echo $a
10    end
11end