Files
fish-shell/share/functions/__fish_systemd_machine_images.fish
Johannes Altmanninger a53db72564 Mark private functions that don't need localization
See the next commit.

Part of #11833
2025-09-30 11:47:26 +02:00

13 lines
431 B
Fish

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