fork/fish-shell

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

Johannes AltmanningerMark private functions that don't need localizationa53db7256

master
431 B12 linesraw
1# localization: skip(private)
2#
3# Like for running machines, I'm assuming machinectl doesn't allow spaces in image names
4# This does not include the special image ".host" since it isn't valid for most operations
5function __fish_systemd_machine_images
6    # We don't want to complete with ANSI color codes
7    set -lu SYSTEMD_COLORS
8
9    machinectl --no-legend --no-pager list-images | while read -l a b
10        echo $a
11    end
12end